Pass through the code to address clang-tidy linting (#3083)

This commit is contained in:
Alexander Bock
2024-03-17 00:58:50 +01:00
committed by GitHub
parent 75681d1d4c
commit 2759c00e4b
457 changed files with 6639 additions and 6519 deletions

View File

@@ -68,9 +68,9 @@ namespace {
namespace openspace::volume {
TransferFunctionHandler::TransferFunctionHandler(const properties::StringProperty& prop)
TransferFunctionHandler::TransferFunctionHandler(properties::StringProperty prop)
: properties::PropertyOwner({ "TransferFunctionHandler", "Tranfer Function Handler" })
, _transferFunctionPath(prop)
, _transferFunctionPath(std::move(prop))
, _dataUnit(DataUnitInfo)
, _minValue(MinValueInfo)
, _maxValue(MaxValueInfo)
@@ -143,7 +143,7 @@ void TransferFunctionHandler::setFilepath(std::string path) {
}
ghoul::opengl::Texture& TransferFunctionHandler::texture() {
return *_texture.get();
return *_texture;
}
void TransferFunctionHandler::uploadTexture() {