Add constexpr to GetValue on ConstString holder.
continuous-integration/drone/push Build is passing

This commit is contained in:
Deukhoofd committed 2020-04-16 11:16:55 +02:00
1 parent de702b5569
commit e850f728bc
1 file changed
+2 -6
+2 -6
View File
@@ -25,12 +25,8 @@ namespace Arbutils {
delete this; delete this;
} }
} }
inline void AddReference(){ inline void AddReference() { _references++; }
_references++; inline constexpr const char* GetValue() const { return _value; }
}
inline const char* GetValue(){
return _value;
}
}; };
} }