mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 11:39:49 -06:00
Code Cleanup (#2191)
* constexpr const -> constexpr * const char* -> std::string_view
This commit is contained in:
@@ -31,25 +31,25 @@
|
||||
#include <optional>
|
||||
|
||||
namespace {
|
||||
constexpr const openspace::properties::Property::PropertyInfo HasStartInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo HasStartInfo = {
|
||||
"HasStart",
|
||||
"Has Start",
|
||||
"If enabled, this TimeFrame will be inactive before the Start"
|
||||
};
|
||||
|
||||
constexpr const openspace::properties::Property::PropertyInfo StartInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo StartInfo = {
|
||||
"Start",
|
||||
"Start",
|
||||
"Specifies the time when this TimeFrame becomes active"
|
||||
};
|
||||
|
||||
constexpr const openspace::properties::Property::PropertyInfo HasEndInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo HasEndInfo = {
|
||||
"HasEnd",
|
||||
"Has End",
|
||||
"If enabled, this TimeFrame will be inactive after the End"
|
||||
};
|
||||
|
||||
constexpr const openspace::properties::Property::PropertyInfo EndInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo EndInfo = {
|
||||
"End",
|
||||
"End",
|
||||
"Specifies the time when this TimeFrame becomes inactive"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include <openspace/util/time.h>
|
||||
|
||||
namespace {
|
||||
constexpr const openspace::properties::Property::PropertyInfo TimeFramesInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo TimeFramesInfo = {
|
||||
"TimeFrames",
|
||||
"Time Frames",
|
||||
"A vector of time frames to combine into one. "
|
||||
|
||||
Reference in New Issue
Block a user