From 2b89a3cffce4142bd74d123d9aa6e25c2e7a3fb1 Mon Sep 17 00:00:00 2001 From: Andrej Date: Tue, 16 May 2017 21:56:49 +0200 Subject: [PATCH] Using single quote for one character parameter in find_last_of method call --- code/ObjExporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ObjExporter.cpp b/code/ObjExporter.cpp index c1a6677..82f1c98 100644 --- a/code/ObjExporter.cpp +++ b/code/ObjExporter.cpp @@ -125,7 +125,7 @@ std::string ObjExporter :: GetMaterialLibName() std::string ObjExporter :: GetMaterialLibFileName() { // Remove existing .obj file extention so that the final material file name will be fileName.mtl and not fileName.obj.mtl - size_t lastdot = filename.find_last_of("."); + size_t lastdot = filename.find_last_of('.'); if (lastdot != std::string::npos) filename = filename.substr(0, lastdot); -- 2.7.4