summaryrefslogtreecommitdiff
path: root/include/gras/thread_pool.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/gras/thread_pool.hpp')
-rw-r--r--include/gras/thread_pool.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/gras/thread_pool.hpp b/include/gras/thread_pool.hpp
index 57bfb48..dd623d3 100644
--- a/include/gras/thread_pool.hpp
+++ b/include/gras/thread_pool.hpp
@@ -3,6 +3,11 @@
#ifndef INCLUDED_GRAS_THREAD_POOL_HPP
#define INCLUDED_GRAS_THREAD_POOL_HPP
+#ifdef _MSC_VER
+#pragma warning(push)
+#pragma warning (disable:4251) // needs to have dll interface
+#endif //_MSC_VER
+
#include <gras/gras.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
@@ -75,4 +80,8 @@ struct GRAS_API ThreadPool : boost::shared_ptr<Theron::Framework>
} //namespace gras
+#ifdef _MSC_VER
+#pragma warning(pop)
+#endif //_MSC_VER
+
#endif /*INCLUDED_GRAS_THREAD_POOL_HPP*/