diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-08-06 20:38:08 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-07 16:40:07 +0200 |
commit | 41379f9580827dec14099a53e25bdd688a3813bf (patch) | |
tree | 16bda353354628c2e34dba44eba4835483f1ed4f /src/corelib/thread/qatomic.h | |
parent | 1dca602122d551475354fed2a2673a0f61cf618f (diff) |
Don't export QAtomicInt, it's all inline
Moreover, exporting it causes the horrible side-effect on Windows
(with MSVC) that the compiler will not inline the functions, but
instead will place indirect calls to the functions in QtCore DLL,
even in release mode. For such a critical piece of code, inlining
is necessary.
Change-Id: Ib31c12f6bf8dc8ece1b51824716a480559753c24
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Diffstat (limited to 'src/corelib/thread/qatomic.h')
-rw-r--r-- | src/corelib/thread/qatomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/thread/qatomic.h b/src/corelib/thread/qatomic.h index 5cd9a6a5c4..962f566bd1 100644 --- a/src/corelib/thread/qatomic.h +++ b/src/corelib/thread/qatomic.h @@ -57,7 +57,7 @@ QT_BEGIN_NAMESPACE #endif // High-level atomic integer operations -class Q_CORE_EXPORT QAtomicInt : public QBasicAtomicInt +class QAtomicInt : public QBasicAtomicInt { public: // Non-atomic API |