mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Use more filesystem::path where applicable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user