Adapt to changes in Ghoul that made absPath return a std::filesystem::path instead of a std::string

This commit is contained in:
Alexander Bock
2021-05-17 00:23:15 +02:00
parent ccdc5a5dc3
commit 92432caed2
102 changed files with 431 additions and 389 deletions
@@ -50,7 +50,9 @@ namespace openspace {
std::string FieldlinesSequenceModule::DefaultTransferFunctionFile = "";
FieldlinesSequenceModule::FieldlinesSequenceModule() : OpenSpaceModule(Name) {
DefaultTransferFunctionFile = absPath("${TEMPORARY}/default_transfer_function.txt");
DefaultTransferFunctionFile = absPath(
"${TEMPORARY}/default_transfer_function.txt"
).string();
std::ofstream file(DefaultTransferFunctionFile);
file << DefaultTransferfunctionSource;