summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjasplin <qt-info@nokia.com>2009-06-05 11:28:46 (GMT)
committerjasplin <qt-info@nokia.com>2009-06-05 11:29:28 (GMT)
commita8738d7a11f8eea0164977c4c478d04a1a337f3a (patch)
tree8cfdfa64b745359097dfa3486799a5a42a31b21a /tools
parente6b3c48159f479d82740988a6104b9f5aee16a59 (diff)
downloadQt-a8738d7a11f8eea0164977c4c478d04a1a337f3a.zip
Qt-a8738d7a11f8eea0164977c4c478d04a1a337f3a.tar.gz
Qt-a8738d7a11f8eea0164977c4c478d04a1a337f3a.tar.bz2
Fixed build issue with Sun CC 5.5.
Reviewed-by: TrustMe
Diffstat (limited to 'tools')
-rw-r--r--tools/linguist/lupdate/cpp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linguist/lupdate/cpp.cpp b/tools/linguist/lupdate/cpp.cpp
index 42aa2f0..9f28d1d 100644
--- a/tools/linguist/lupdate/cpp.cpp
+++ b/tools/linguist/lupdate/cpp.cpp
@@ -145,7 +145,6 @@ public:
const ParseResults *getResults() const { return results; }
void deleteResults() { delete results; }
-private:
struct SavedState {
QStringList namespaces;
QStack<int> namespaceDepths;
@@ -154,6 +153,7 @@ private:
QString pendingContext;
};
+private:
struct IfdefState {
IfdefState() {}
IfdefState(int _braceDepth, int _parenDepth) :