From e0a172058158f4b7a85552eacb4679fb63e079ab Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Mon, 11 Oct 2010 14:00:14 -0400 Subject: [PATCH] compilation fixes --- src/shapes/ply/ply.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); }