summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Control.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-10-20 11:21:25 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2009-10-20 11:21:25 +0200
commit13675cf6ed022db43f961473f78a97325014fea2 (patch)
tree83650fbb6b98eeda15159bb50fdca3a861ce7cc0 /src/shared/cplusplus/Control.cpp
parent0a7d402d855cf4d9ce775d3c130ae938470be1cd (diff)
downloadqt-creator-13675cf6ed022db43f961473f78a97325014fea2.tar.gz
Cleanup the C++ front-end.
Removed CPLUSPLUS_BEGIN/END_NAMESPACE & co and made it possible to compile the parser with CPLUSPLUS_WITHOUT_QT.
Diffstat (limited to 'src/shared/cplusplus/Control.cpp')
-rw-r--r--src/shared/cplusplus/Control.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/cplusplus/Control.cpp b/src/shared/cplusplus/Control.cpp
index 30c5552bbe..908bded134 100644
--- a/src/shared/cplusplus/Control.cpp
+++ b/src/shared/cplusplus/Control.cpp
@@ -57,7 +57,7 @@
#include <map> // ### replace me with LiteralTable
#include <string>
-CPLUSPLUS_BEGIN_NAMESPACE
+using namespace CPlusPlus;
template <typename _Iterator>
@@ -766,4 +766,4 @@ ObjCForwardProtocolDeclaration *Control::newObjCForwardProtocolDeclaration(unsig
ObjCMethod *Control::newObjCMethod(unsigned sourceLocation, Name *name)
{ return d->newObjCMethod(sourceLocation, name); }
-CPLUSPLUS_END_NAMESPACE
+