diff --git a/src/shapes/ply/ply.cpp b/src/shapes/ply/ply.cpp index 8c7fca0e..96f41f88 100644 --- a/src/shapes/ply/ply.cpp +++ b/src/shapes/ply/ply.cpp @@ -20,6 +20,7 @@ #include #include #include +#include #include #include @@ -367,7 +368,7 @@ void PLYLoader::loadPLY(const fs::path &path) { Log(EInfo, "\"%s\": Loaded " SIZE_T_FMT " triangles, " SIZE_T_FMT " vertices (%s, %i ms).", m_name.c_str(), m_triangleCount, m_vertexCount, - memString(sizeof(uint32_t) * m_triangleCount * 3 + sizeof(Vertex) * m_vertexCount).str(), + memString(sizeof(uint32_t) * m_triangleCount * 3 + sizeof(Vertex) * m_vertexCount).c_str(), timer->getMilliseconds()); }