summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-03-19 03:10:19 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-03-19 03:10:19 (GMT)
commit76aa88cef4000ae7c635611dd78467195a9f8997 (patch)
treecc0d6b7dffcfaa22e7f0cdb5bc4171c6ec648c0c
parent8a7de547942c9a660dfc45c176ea1a3027bbf99a (diff)
parent6d727e0f88b82173fd1837fade7cfcd25dbbef4f (diff)
downloadQt-76aa88cef4000ae7c635611dd78467195a9f8997.zip
Qt-76aa88cef4000ae7c635611dd78467195a9f8997.tar.gz
Qt-76aa88cef4000ae7c635611dd78467195a9f8997.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Fix double definition of qt_next_power_of_two()
-rw-r--r--src/gui/painting/qtextureglyphcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qtextureglyphcache.cpp b/src/gui/painting/qtextureglyphcache.cpp
index 4a563ed..cf545be 100644
--- a/src/gui/painting/qtextureglyphcache.cpp
+++ b/src/gui/painting/qtextureglyphcache.cpp
@@ -57,7 +57,7 @@ QT_BEGIN_NAMESPACE
// returns the highest number closest to v, which is a power of 2
// NB! assumes 32 bit ints
-int qt_next_power_of_two(int v)
+static inline int qt_next_power_of_two(int v)
{
v--;
v |= v >> 1;