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

View File

@@ -59,14 +59,14 @@
#include <iterator>
namespace {
constexpr const char* _loggerCat = "RenderableMultiresVolume";
constexpr const char* KeyDataSource = "Source";
constexpr const char* KeyErrorHistogramsSource = "ErrorHistogramsSource";
constexpr const char* KeyTransferFunction = "TransferFunction";
constexpr std::string_view _loggerCat = "RenderableMultiresVolume";
constexpr std::string_view KeyDataSource = "Source";
constexpr std::string_view KeyErrorHistogramsSource = "ErrorHistogramsSource";
constexpr std::string_view KeyTransferFunction = "TransferFunction";
constexpr const char* KeyBrickSelector = "BrickSelector";
constexpr const char* KeyStartTime = "StartTime";
constexpr const char* KeyEndTime = "EndTime";
constexpr std::string_view KeyBrickSelector = "BrickSelector";
constexpr std::string_view KeyStartTime = "StartTime";
constexpr std::string_view KeyEndTime = "EndTime";
constexpr openspace::properties::Property::PropertyInfo StepSizeCoefficientInfo = {
"StepSizeCoefficient",