Add constexpr to GetValue on ConstString holder.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -25,12 +25,8 @@ namespace Arbutils {
|
||||
delete this;
|
||||
}
|
||||
}
|
||||
inline void AddReference(){
|
||||
_references++;
|
||||
}
|
||||
inline const char* GetValue(){
|
||||
return _value;
|
||||
}
|
||||
inline void AddReference() { _references++; }
|
||||
inline constexpr const char* GetValue() const { return _value; }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user