diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-11-06 14:45:01 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-11-06 14:45:01 +0100 |
commit | 3617f5c22621be4780bb30021b920fd72189b72b (patch) | |
tree | f4df13126fa37b4923b94c73ae52adbf811d1647 /src/crepe/api/GameObject.h | |
parent | 36230ae0dc7a8784ef34123508efdbe571fe4869 (diff) |
Made std::string const reference (instead of copy by value)
Diffstat (limited to 'src/crepe/api/GameObject.h')
-rw-r--r-- | src/crepe/api/GameObject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/GameObject.h b/src/crepe/api/GameObject.h index 13aa681..2a82258 100644 --- a/src/crepe/api/GameObject.h +++ b/src/crepe/api/GameObject.h @@ -27,7 +27,7 @@ public: * \param rotation The rotation of the GameObject * \param scale The scale of the GameObject */ - GameObject(uint32_t id, std::string name, std::string tag, + GameObject(uint32_t id, const std::string & name, const std::string & tag, const Point & position, double rotation, double scale); /** * \brief Set the parent of this GameObject |