Skip to content

Commit

Permalink
fixed compilation on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ypujante committed Jan 11, 2023
1 parent efaddee commit aef1ff8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpp/re/edit/Widget.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ class Widget : public Editable
public:
explicit Widget(WidgetType iType, std::optional<std::string> 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; }
Expand Down

0 comments on commit aef1ff8

Please sign in to comment.