Declare PropertyInfo as constexpr, rather than const

This commit is contained in:
Alexander Bock
2018-06-28 17:08:56 -04:00
parent 9408c0c45f
commit 99a6efca8e
92 changed files with 534 additions and 527 deletions
+2 -2
View File
@@ -35,13 +35,13 @@ namespace {
constexpr const char* KeyType = "Type";
constexpr const char* KeyTag = "Tag";
const openspace::properties::Property::PropertyInfo EnabledInfo = {
constexpr openspace::properties::Property::PropertyInfo EnabledInfo = {
"Enabled",
"Is Enabled",
"This setting determines whether this object will be visible or not."
};
const openspace::properties::Property::PropertyInfo OpacityInfo = {
constexpr openspace::properties::Property::PropertyInfo OpacityInfo = {
"Opacity",
"Transparency",
"This value determines the transparency of this object."