diff options
author | marcelofg55 <marcelofg55@gmail.com> | 2016-06-12 13:31:22 -0300 |
---|---|---|
committer | marcelofg55 <marcelofg55@gmail.com> | 2016-06-12 13:31:22 -0300 |
commit | 378785656350fc1eacb523ca42307b651607fa6c (patch) | |
tree | 8ba613fbf3faecb4a9b88bc855c16f028dfa238d /scene/resources | |
parent | 4bb93c976c6b67b4538c8a012ea549ec24e3ac1a (diff) |
Fixed overloaded virtual functions with const vs none warning
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/room.cpp | 2 | ||||
-rw-r--r-- | scene/resources/room.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/room.cpp b/scene/resources/room.cpp index 4024e2f45c..d1fc614c90 100644 --- a/scene/resources/room.cpp +++ b/scene/resources/room.cpp @@ -31,7 +31,7 @@ #include "servers/visual_server.h" -RID RoomBounds::get_rid() { +RID RoomBounds::get_rid() const { return area; } diff --git a/scene/resources/room.h b/scene/resources/room.h index a9f159cd46..3ed41a3e61 100644 --- a/scene/resources/room.h +++ b/scene/resources/room.h @@ -50,7 +50,7 @@ protected: public: - virtual RID get_rid(); + virtual RID get_rid() const; void set_bounds( const BSP_Tree& p_bounds ); BSP_Tree get_bounds() const; |