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
+3 -3
View File
@@ -35,14 +35,14 @@ namespace {
constexpr const char* KeyName = "Name";
const openspace::properties::Property::PropertyInfo NameInfo = {
constexpr openspace::properties::Property::PropertyInfo NameInfo = {
"SpoutName",
"Spout Sender Name",
"This value explicitly sets the Spout receiver to use a specific name. If this "
"is not a valid name, an empty image is used."
};
const openspace::properties::Property::PropertyInfo SelectionInfo = {
constexpr openspace::properties::Property::PropertyInfo SelectionInfo = {
"SpoutSelection",
"Spout Selection",
"This property displays all available Spout sender on the system. If one them is "
@@ -50,7 +50,7 @@ namespace {
"previous value."
};
const openspace::properties::Property::PropertyInfo UpdateInfo = {
constexpr openspace::properties::Property::PropertyInfo UpdateInfo = {
"UpdateSelection",
"Update Selection",
"If this property is trigged, the 'SpoutSelection' options will be refreshed."