diff options
author | Josh Blum | 2013-03-18 00:36:11 -0700 |
---|---|---|
committer | Josh Blum | 2013-03-18 00:36:11 -0700 |
commit | 3a30faed097c252f82978f0d7a908d853f5d9d43 (patch) | |
tree | 636c3600de31ef207dc42886c418528a3e3738b6 /include/gras/thread_pool.hpp | |
parent | d941ecb925c1397681f9ec6b354176fdd45fa8e1 (diff) | |
download | sandhi-3a30faed097c252f82978f0d7a908d853f5d9d43.tar.gz sandhi-3a30faed097c252f82978f0d7a908d853f5d9d43.tar.bz2 sandhi-3a30faed097c252f82978f0d7a908d853f5d9d43.zip |
gras: added pragmas for msvc warnings
Diffstat (limited to 'include/gras/thread_pool.hpp')
-rw-r--r-- | include/gras/thread_pool.hpp | 9 |
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*/ |