summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-07-03 14:32:26 (GMT)
committerhjk <qtc-committer@nokia.com>2009-07-09 10:39:37 (GMT)
commit14ef40f9b96c5afea9d08701a2a1856388349f9e (patch)
treefa4f115f2085b07d2c66c16b8dc513b1a303a727 /src/corelib/tools
parent259575734a52c27018f26e1f7c857ae25a27d39a (diff)
downloadQt-14ef40f9b96c5afea9d08701a2a1856388349f9e.zip
Qt-14ef40f9b96c5afea9d08701a2a1856388349f9e.tar.gz
Qt-14ef40f9b96c5afea9d08701a2a1856388349f9e.tar.bz2
Use 'struct QConcatenable' instead of 'class QConcatenable' to
make compiler distinguishing both happy.
Diffstat (limited to 'src/corelib/tools')
-rw-r--r--src/corelib/tools/qstringbuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qstringbuilder.h b/src/corelib/tools/qstringbuilder.h
index 852c072..4d6b64b 100644
--- a/src/corelib/tools/qstringbuilder.h
+++ b/src/corelib/tools/qstringbuilder.h
@@ -69,7 +69,7 @@ private:
};
-template <typename T> class QConcatenable {};
+template <typename T> struct QConcatenable {};
template <typename A, typename B>
class QStringBuilder