diff --git a/base/base.cpp b/base/base.cpp index 9b2f189af1..7649d272bd 100644 --- a/base/base.cpp +++ b/base/base.cpp @@ -1,11 +1,11 @@ -#include "SRC_FIRST.hpp" +#include "base.hpp" #include "assert.hpp" +#include "exception.hpp" #include "../std/target_os.hpp" #include "../std/iostream.hpp" #include -#include #ifdef OMIM_OS_BADA #include @@ -26,7 +26,7 @@ namespace my #ifdef DEBUG assert(false); #else - throw std::exception(msg.c_str()); + MYTHROW(RootException, (msg)); #endif #endif