Address Visual Studio analyzer warnings

This commit is contained in:
Alexander Bock
2022-04-12 00:58:11 +02:00
parent f1667a7f43
commit d360f2ae59
17 changed files with 38 additions and 41 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ void OpenSpaceEngine::registerPathTokens() {
using Override = ghoul::filesystem::FileSystem::Override;
FileSys.registerPathToken(
std::move(fullKey),
std::move(path.second),
path.second,
Override(overrideBase || overrideTemporary)
);
}
+3 -3
View File
@@ -101,9 +101,9 @@ glm::dmat3 TransformationManager::kameleonTransformationMatrix(
ccmc::Position out1;
ccmc::Position out2;
_kameleon->_cxform(from.c_str(), to.c_str(), ephemerisTime, &in0, &out0);
_kameleon->_cxform(from.c_str(), to.c_str(), ephemerisTime, &in1, &out1);
_kameleon->_cxform(from.c_str(), to.c_str(), ephemerisTime, &in2, &out2);
ccmc::Kameleon::_cxform(from.c_str(), to.c_str(), ephemerisTime, &in0, &out0);
ccmc::Kameleon::_cxform(from.c_str(), to.c_str(), ephemerisTime, &in1, &out1);
ccmc::Kameleon::_cxform(from.c_str(), to.c_str(), ephemerisTime, &in2, &out2);
return glm::dmat3(
out0.c0, out0.c1, out0.c2,