From 96521ead103c966269b77399c6c92a8f86998a1b Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 26 Jun 2014 14:16:37 +0200 Subject: [PATCH] Fix incorrect path in an error message fixes #6492 --- lib/base/dynamicobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/dynamicobject.cpp b/lib/base/dynamicobject.cpp index e02d54ee8..c56e0c5a4 100644 --- a/lib/base/dynamicobject.cpp +++ b/lib/base/dynamicobject.cpp @@ -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(&fp, false); -- 2.40.0