ExampleRef::get_id() should be const
parent
f2b97528c1
commit
b01f0cf99b
|
@ -16,7 +16,7 @@ using namespace godot;
|
||||||
int ExampleRef::instance_count = 0;
|
int ExampleRef::instance_count = 0;
|
||||||
int ExampleRef::last_id = 0;
|
int ExampleRef::last_id = 0;
|
||||||
|
|
||||||
int ExampleRef::get_id() {
|
int ExampleRef::get_id() const {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ public:
|
||||||
ExampleRef();
|
ExampleRef();
|
||||||
~ExampleRef();
|
~ExampleRef();
|
||||||
|
|
||||||
int get_id();
|
int get_id() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
class ExampleMin : public Control {
|
class ExampleMin : public Control {
|
||||||
|
|
Loading…
Reference in New Issue