mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Adapt to changes in Ghoul that made absPath return a std::filesystem::path instead of a std::string
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user