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
@@ -31,37 +31,37 @@
#include <openspace/util/updatestructures.h>
namespace {
const openspace::properties::Property::PropertyInfo SizeInfo = {
constexpr openspace::properties::Property::PropertyInfo SizeInfo = {
"Size",
"Size",
"" // @TODO Missing documentation
};
const openspace::properties::Property::PropertyInfo ScalingExponentInfo = {
constexpr openspace::properties::Property::PropertyInfo ScalingExponentInfo = {
"ScalingExponent",
"Scaling Exponent",
"" // @TODO Missing documentation
};
const openspace::properties::Property::PropertyInfo StepSizeInfo = {
constexpr openspace::properties::Property::PropertyInfo StepSizeInfo = {
"StepSize",
"Step Size",
"" // @TODO Missing documentation
};
const openspace::properties::Property::PropertyInfo TranslationInfo = {
constexpr openspace::properties::Property::PropertyInfo TranslationInfo = {
"Translation",
"Translation",
"" // @TODO Missing documentation
};
const openspace::properties::Property::PropertyInfo RotationInfo = {
constexpr openspace::properties::Property::PropertyInfo RotationInfo = {
"Rotation",
"Euler rotation",
"" // @TODO Missing documentation
};
const openspace::properties::Property::PropertyInfo ColorInfo = {
constexpr openspace::properties::Property::PropertyInfo ColorInfo = {
"Color",
"Color",
"" // @TODO Missing documentation