mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Code Cleanup (#2191)
* constexpr const -> constexpr * const char* -> std::string_view
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
#include <thread>
|
||||
|
||||
namespace {
|
||||
constexpr const char* _loggerCat = "RenderableFieldlinesSequence";
|
||||
constexpr std::string_view _loggerCat = "RenderableFieldlinesSequence";
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo ColorMethodInfo = {
|
||||
"ColorMethod",
|
||||
@@ -764,9 +764,9 @@ void RenderableFieldlinesSequence::setModelDependentConstants() {
|
||||
// Requires files to be named as such: 'YYYY-MM-DDTHH-MM-SS-XXX.osfls'
|
||||
void RenderableFieldlinesSequence::extractTriggerTimesFromFileNames() {
|
||||
// number of characters in filename (excluding '.osfls')
|
||||
constexpr const int FilenameSize = 23;
|
||||
constexpr int FilenameSize = 23;
|
||||
// size(".osfls")
|
||||
constexpr const int ExtSize = 6;
|
||||
constexpr int ExtSize = 6;
|
||||
|
||||
for (const std::string& filePath : _sourceFiles) {
|
||||
const size_t strLength = filePath.size();
|
||||
|
||||
Reference in New Issue
Block a user