summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-08-18 11:59:58 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-08-24 10:36:43 (GMT)
commit637d94620c86172714ab11a258f6c5d4d02c272b (patch)
treeadda72579f20364b15779c541986dc45ff56dfb4 /tests/benchmarks
parent5e8d8f82d38ce5a1b30d5d90ecb6bc096d52f4d8 (diff)
downloadQt-637d94620c86172714ab11a258f6c5d4d02c272b.zip
Qt-637d94620c86172714ab11a258f6c5d4d02c272b.tar.gz
Qt-637d94620c86172714ab11a258f6c5d4d02c272b.tar.bz2
Small fixup
Diffstat (limited to 'tests/benchmarks')
-rw-r--r--tests/benchmarks/corelib/tools/qstring/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/corelib/tools/qstring/main.cpp b/tests/benchmarks/corelib/tools/qstring/main.cpp
index e11d92e..6f9c333 100644
--- a/tests/benchmarks/corelib/tools/qstring/main.cpp
+++ b/tests/benchmarks/corelib/tools/qstring/main.cpp
@@ -987,7 +987,7 @@ static __attribute__((optimize("no-unroll-loops"))) int ucstrncmp_sse2_aligning(
return ucstrncmp_short_tail(a + counter, b + counter, len);
}
-static __attribute__((optimize("no-unroll-loops"))) int ucstrncmp_sse2_aligned(const ushort *a, const ushort *b, int len)
+static inline __attribute__((optimize("no-unroll-loops"))) int ucstrncmp_sse2_aligned(const ushort *a, const ushort *b, int len)
{
qptrdiff counter = 0;
while (len >= 8) {