Fix incorrect path in an error message

fixes #6492
This commit is contained in:
Gunnar Beutner 2014-06-26 14:16:37 +02:00
parent 3ece0cff4d
commit 96521ead10
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ void DynamicObject::DumpObjects(const String& filename, int attributeTypes)
fp.open(tempFilename.CStr(), std::ios_base::out);
if (!fp)
BOOST_THROW_EXCEPTION(std::runtime_error("Could not open '" + filename + "' file"));
BOOST_THROW_EXCEPTION(std::runtime_error("Could not open '" + tempFilename + "' file"));
StdioStream::Ptr sfp = make_shared<StdioStream>(&fp, false);