Commit 6f3ba275 authored by Vitaly Lipatov's avatar Vitaly Lipatov

Debug: remove _ define

parent f990e596
...@@ -25,9 +25,9 @@ ...@@ -25,9 +25,9 @@
#include <string> #include <string>
//#include <lstrings.h> //#include <lstrings.h>
#ifndef _ //#ifndef _
#define _(n) n // #define _(n) n
#endif //#endif
using std::string; using std::string;
......
...@@ -96,8 +96,8 @@ void Debug::showLevel(ostream & o, Debug::type level) ...@@ -96,8 +96,8 @@ void Debug::showLevel(ostream & o, Debug::type level)
if (errorTags[i].level != Debug::ANY if (errorTags[i].level != Debug::ANY
&& errorTags[i].level != Debug::NONE && errorTags[i].level != Debug::NONE
&& errorTags[i].level & level) && errorTags[i].level & level)
o << _("Debugging `") << errorTags[i].name o << "Debugging `" << errorTags[i].name
<< "' (" << _(errorTags[i].desc) << ')' << endl; << "' (" << errorTags[i].desc << ')' << endl;
} }
...@@ -106,7 +106,7 @@ void Debug::showTags(ostream & os) ...@@ -106,7 +106,7 @@ void Debug::showTags(ostream & os)
for (int i = 0 ; i < numErrorTags ; ++i) for (int i = 0 ; i < numErrorTags ; ++i)
os << setw(7) << errorTags[i].level os << setw(7) << errorTags[i].level
<< setw(10) << errorTags[i].name << setw(10) << errorTags[i].name
<< " " << _(errorTags[i].desc) << '\n'; << " " << errorTags[i].desc << '\n';
os.flush(); os.flush();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment