Code Cleanup (#2191)

* constexpr const -> constexpr
* const char* -> std::string_view
This commit is contained in:
Alexander Bock
2022-07-25 15:57:45 +02:00
committed by GitHub
parent ea1f4bbf40
commit 9cc4c595a8
267 changed files with 1425 additions and 1565 deletions
@@ -48,22 +48,22 @@
#include <filesystem>
namespace {
constexpr const char* _loggerCat = "RenderableKameleonVolume";
constexpr std::string_view _loggerCat = "RenderableKameleonVolume";
constexpr const char* KeyDimensions = "Dimensions";
constexpr const char* KeyStepSize = "StepSize";
constexpr const char* KeyTransferFunction = "TransferFunction";
constexpr const char* KeySource = "Source";
constexpr const char* KeyVariable = "Variable";
constexpr const char* KeyLowerDomainBound = "LowerDomainBound";
constexpr const char* KeyUpperDomainBound = "UpperDomainBound";
constexpr const char* KeyDomainScale = "DomainScale";
constexpr const char* KeyLowerValueBound = "LowerValueBound";
constexpr const char* KeyUpperValueBound = "UpperValueBound";
constexpr const char* KeyClipPlanes = "ClipPlanes";
constexpr const char* KeyCache = "Cache";
constexpr const char* KeyGridType = "GridType";
constexpr const char* ValueSphericalGridType = "Spherical";
constexpr std::string_view KeyDimensions = "Dimensions";
constexpr std::string_view KeyStepSize = "StepSize";
constexpr std::string_view KeyTransferFunction = "TransferFunction";
constexpr std::string_view KeySource = "Source";
constexpr std::string_view KeyVariable = "Variable";
constexpr std::string_view KeyLowerDomainBound = "LowerDomainBound";
constexpr std::string_view KeyUpperDomainBound = "UpperDomainBound";
constexpr std::string_view KeyDomainScale = "DomainScale";
constexpr std::string_view KeyLowerValueBound = "LowerValueBound";
constexpr std::string_view KeyUpperValueBound = "UpperValueBound";
constexpr std::string_view KeyClipPlanes = "ClipPlanes";
constexpr std::string_view KeyCache = "Cache";
constexpr std::string_view KeyGridType = "GridType";
constexpr std::string_view ValueSphericalGridType = "Spherical";
constexpr openspace::properties::Property::PropertyInfo DimensionsInfo = {
"Dimensions",