diff --git a/libsrc/interface/nginterface.cpp b/libsrc/interface/nginterface.cpp index edce3398..b894059a 100644 --- a/libsrc/interface/nginterface.cpp +++ b/libsrc/interface/nginterface.cpp @@ -119,7 +119,7 @@ void Ng_LoadMeshFromStream ( istream & input ) void Ng_LoadMesh (const char * filename) { { - auto infile = ifstream (filename); + ifstream infile(filename); if(!infile.good()) throw NgException(string("Error opening file ") + filename); }