diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-08-18 11:59:58 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-08-24 10:36:43 (GMT) |
commit | 637d94620c86172714ab11a258f6c5d4d02c272b (patch) | |
tree | adda72579f20364b15779c541986dc45ff56dfb4 | |
parent | 5e8d8f82d38ce5a1b30d5d90ecb6bc096d52f4d8 (diff) | |
download | Qt-637d94620c86172714ab11a258f6c5d4d02c272b.zip Qt-637d94620c86172714ab11a258f6c5d4d02c272b.tar.gz Qt-637d94620c86172714ab11a258f6c5d4d02c272b.tar.bz2 |
Small fixup
-rw-r--r-- | tests/benchmarks/corelib/tools/qstring/main.cpp | 2 |
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) { |