diff --git a/src/cpp/re/edit/Widget.h b/src/cpp/re/edit/Widget.h index 4240d90..c5b6556 100644 --- a/src/cpp/re/edit/Widget.h +++ b/src/cpp/re/edit/Widget.h @@ -41,8 +41,8 @@ class Widget : public Editable public: explicit Widget(WidgetType iType, std::optional const &iName = std::nullopt); - constexpr std::string const &getName() const { return fName.value(); } - constexpr StringWithHash::hash_t getNameHash() const { return fName.hash(); } + inline std::string const &getName() const { return fName.value(); } + inline StringWithHash::hash_t getNameHash() const { return fName.hash(); } void setName(std::string iName); constexpr int getId() const { return fId; } constexpr WidgetType getType() const { return fType; }