From 7b73bfb09982cb78e773d2053a428e1b35980115 Mon Sep 17 00:00:00 2001 From: Edmondo Tommasina Date: Wed, 5 Sep 2012 23:39:58 +0200 Subject: [PATCH] settings.cpp: fix std::runtime_error compile error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix following error: [ 11%] Building CXX object components/CMakeFiles/components.dir/nifoverrides/nifoverrides.cpp.o /home/edmondo/src/openmw/components/settings/settings.cpp: In static member function ‘static const std::string Settings::Manager::getString(const std::string&, const std::string&)’: /home/edmondo/src/openmw/components/settings/settings.cpp:82:15: error: ‘runtime_error’ is not a member of ‘std’ make[2]: *** [components/CMakeFiles/components.dir/settings/settings.cpp.o] Error 1 --- components/settings/settings.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/settings/settings.cpp b/components/settings/settings.cpp index 49fc92a7c..13015e39c 100644 --- a/components/settings/settings.cpp +++ b/components/settings/settings.cpp @@ -1,6 +1,7 @@ #include "settings.hpp" #include +#include #include #include