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

View File

@@ -30,13 +30,13 @@
#include <openspace/util/powerscaledsphere.h>
namespace {
const openspace::properties::Property::PropertyInfo RadiusInfo = {
constexpr openspace::properties::Property::PropertyInfo RadiusInfo = {
"Radius",
"Radius",
"This value specifies the radius of this sphere in meters."
};
const openspace::properties::Property::PropertyInfo SegmentsInfo = {
constexpr openspace::properties::Property::PropertyInfo SegmentsInfo = {
"Segments",
"Segments",
"This value specifies the number of segments that this sphere is split into."