diff --git a/src/model.cpp b/src/model.cpp index 05b4ea3..c99cbbf 100644 --- a/src/model.cpp +++ b/src/model.cpp @@ -86,7 +86,7 @@ Object::Object() { m_texCoords = std::vector(); } -void Object::LoadMaterials(const std::string& filename) { +void Object::LoadMaterials(const std::filesystem::path& filename) { std::ifstream file(filename); std::string currentMaterialName;