Initialize class/struct variables with default values in platform/ and editor/
This commit is contained in:
parent
d1231be1c8
commit
e1811b689b
87 changed files with 411 additions and 540 deletions
|
|
@ -409,7 +409,7 @@ void TileMapEditor::_sbox_input(const Ref<InputEvent> &p_ie) {
|
|||
// In modern C++ this could have been inside its body.
|
||||
namespace {
|
||||
struct _PaletteEntry {
|
||||
int id;
|
||||
int id = 0;
|
||||
String name;
|
||||
|
||||
bool operator<(const _PaletteEntry &p_rhs) const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue