diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-02 22:19:15 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-02 22:19:15 +0100 |
commit | 07b8a5b0baed8c7b23681c99f25f297045945bfc (patch) | |
tree | 8383b4b675aba53d19a667f4713c3e73c32e9652 /backend/Object.cpp | |
parent | d554cb39a2f1ec97dd214a5dd200ae5f03cf616d (diff) |
fix more bugs
Diffstat (limited to 'backend/Object.cpp')
-rw-r--r-- | backend/Object.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/backend/Object.cpp b/backend/Object.cpp index da1738c..398f970 100644 --- a/backend/Object.cpp +++ b/backend/Object.cpp @@ -8,9 +8,8 @@ void Object::set_name(const String & name) { const String & Object::get_name() const { return this->name; } -const String & Object::get_displayname() const { - static String displayname = this->name; - return displayname; +String Object::get_displayname() const { + return this->name; } void Object::set_description(const String & description) { |