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

View File

@@ -233,7 +233,7 @@ bool RenderableConstellationBounds::loadVertexFile() {
return false;
}
std::string fileName = absPath(_vertexFilename);
std::filesystem::path fileName = absPath(_vertexFilename);
std::ifstream file;
file.open(fileName);
if (!file.good()) {
@@ -273,7 +273,7 @@ bool RenderableConstellationBounds::loadVertexFile() {
LERRORC(
"RenderableConstellationBounds",
fmt::format(
"Error reading file '{}' at line #{}", fileName, currentLineNumber
"Error reading file {} at line #{}", fileName, currentLineNumber
)
);
break;