comparison Framework/StoneException.h @ 738:8e31b174ab26

removing using namespace
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 22 May 2019 08:54:38 +0200
parents 28b9e3a54200
children 92c400a09f1b
comparison
equal deleted inserted replaced
737:4d69256d2a46 738:8e31b174ab26
118 #define ORTHANC_ASSERT(cond,streamChainMessage) \ 118 #define ORTHANC_ASSERT(cond,streamChainMessage) \
119 if (!(cond)) { \ 119 if (!(cond)) { \
120 std::stringstream sst; \ 120 std::stringstream sst; \
121 sst << "Assertion failed. Condition = \"" #cond "\" Message = \"" << streamChainMessage << "\""; \ 121 sst << "Assertion failed. Condition = \"" #cond "\" Message = \"" << streamChainMessage << "\""; \
122 std::string sstr = sst.str(); \ 122 std::string sstr = sst.str(); \
123 throw OrthancException(ErrorCode_InternalError,sstr.c_str()); \ 123 throw ::Orthanc::OrthancException(::Orthanc::ErrorCode_InternalError,sstr.c_str()); \
124 } else (void)0 124 } else (void)0
125 125