vdrift: fix gcc6 build

This commit is contained in:
Jürgen Buchmüller 2017-01-25 16:10:22 +01:00
parent 978243f4b8
commit 7895142ced
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- src/graphics/model_obj.cpp
+++ src/graphics/model_obj.cpp
@@ -221,7 +221,7 @@ bool ModelObj::Save(const std::string &
std::ofstream f(strFileName.c_str());
if (!f)
{
- error_output << "Error opening file for writing: " << error_output << endl;
+ error_output << "Error opening file for writing: " << strFileName << endl;
return false;
}