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

@@ -48,14 +48,12 @@ mappingkey 1.0 255 255 255 255
namespace openspace {
std::string FieldlinesSequenceModule::DefaultTransferFunctionFile = "";
std::filesystem::path FieldlinesSequenceModule::DefaultTransferFunctionFile = "";
FieldlinesSequenceModule::FieldlinesSequenceModule() : OpenSpaceModule(Name) {
DefaultTransferFunctionFile = absPath(
"${TEMPORARY}/default_transfer_function.txt"
).string();
DefaultTransferFunctionFile = absPath("${TEMPORARY}/default_transfer_function.txt");
std::ofstream file(DefaultTransferFunctionFile);
std::ofstream file = std::ofstream(DefaultTransferFunctionFile);
file << DefaultTransferfunctionSource;
}