Use more filesystem::path where applicable

This commit is contained in:
Alexander Bock
2024-04-06 19:50:39 +02:00
parent 2af06fb641
commit 4328476d26
148 changed files with 712 additions and 705 deletions

View File

@@ -112,7 +112,7 @@ void testReadingHorizons(HorizonsType type, const std::filesystem::path& filePat
// Initialize SpiceManager and load leap second kernel
SpiceManager::initialize();
openspace::SpiceManager::ref().loadKernel(kernel.string());
openspace::SpiceManager::ref().loadKernel(kernel);
// Read the file
HorizonsResult result = readHorizonsFile(filePath);
@@ -142,7 +142,7 @@ void testReadingHorizons(HorizonsType type, const std::filesystem::path& filePat
CHECK(data[2].position.z == Catch::Approx(z2));
// Clean up
openspace::SpiceManager::ref().unloadKernel(kernel.string());
openspace::SpiceManager::ref().unloadKernel(kernel);
openspace::SpiceManager::deinitialize();
}
#endif // OPENSPACE_MODULE_SPACE_ENABLED