X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FException.cc;h=39b95032635db7ca08e8bcd699656b04c737cc89;hb=4101c2b818ec67e7469ebb44f030eed2185c4ab0;hp=ee1ec18609494f6d39e666eaf05f0fc09bdcbb18;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Utils/Exception.cc b/senf/Utils/Exception.cc index ee1ec18..39b9503 100644 --- a/senf/Utils/Exception.cc +++ b/senf/Utils/Exception.cc @@ -27,15 +27,17 @@ //#include "Exception.ih" // Custom includes -#include +#ifdef SENF_DEBUG + #include +#endif #include -#include "../config.hh" +#include #include "Backtrace.hh" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::Exception #ifdef SENF_DEBUG @@ -54,7 +56,7 @@ prefix_ void senf::ExceptionMixin::addBacktrace() } #endif -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::Exception prefix_ senf::Exception::~Exception() @@ -67,7 +69,7 @@ prefix_ char const * senf::Exception::what() return what_.c_str(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::SystemException prefix_ void senf::SystemException::init(std::string const & descr, int code @@ -82,7 +84,7 @@ prefix_ void senf::SystemException::init(std::string const & descr, int code if (! descr.empty()) (*this) << " " << descr; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_