From 41379f9580827dec14099a53e25bdd688a3813bf Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 6 Aug 2012 20:38:08 +0200 Subject: 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 --- src/corelib/thread/qatomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib') 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 -- cgit v1.2.3