From edf3a0110ce8528a64d1f061cb73b478989fceef Mon Sep 17 00:00:00 2001 From: Rhys Weatherley Date: Thu, 25 Jun 2009 08:55:46 +1000 Subject: Add Q_CORE_EXPORT to ThreadEngineBarrier The ThreadEngine template uses functions from ThreadEngineBarrier, so ThreadEngineBarrier must be exported to other libraries/programs that instantiate the template. Reviewed-by: trustme --- src/corelib/concurrent/qtconcurrentthreadengine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/concurrent/qtconcurrentthreadengine.h b/src/corelib/concurrent/qtconcurrentthreadengine.h index 286c2b8..896b193 100644 --- a/src/corelib/concurrent/qtconcurrentthreadengine.h +++ b/src/corelib/concurrent/qtconcurrentthreadengine.h @@ -66,7 +66,7 @@ namespace QtConcurrent { // The ThreadEngineBarrier counts worker threads, and allows one // thread to wait for all others to finish. Tested for its use in // QtConcurrent, requires more testing for use as a general class. -class ThreadEngineBarrier +class Q_CORE_EXPORT ThreadEngineBarrier { private: // The thread count is maintained as an integer in the count atomic -- cgit v0.12