summaryrefslogtreecommitdiff
path: root/include/gras/sbuffer.hpp
diff options
context:
space:
mode:
authorJosh Blum2013-03-18 00:36:11 -0700
committerJosh Blum2013-03-18 00:36:11 -0700
commit3a30faed097c252f82978f0d7a908d853f5d9d43 (patch)
tree636c3600de31ef207dc42886c418528a3e3738b6 /include/gras/sbuffer.hpp
parentd941ecb925c1397681f9ec6b354176fdd45fa8e1 (diff)
downloadsandhi-3a30faed097c252f82978f0d7a908d853f5d9d43.tar.gz
sandhi-3a30faed097c252f82978f0d7a908d853f5d9d43.tar.bz2
sandhi-3a30faed097c252f82978f0d7a908d853f5d9d43.zip
gras: added pragmas for msvc warnings
Diffstat (limited to 'include/gras/sbuffer.hpp')
-rw-r--r--include/gras/sbuffer.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/gras/sbuffer.hpp b/include/gras/sbuffer.hpp
index 2d63e50..7980c30 100644
--- a/include/gras/sbuffer.hpp
+++ b/include/gras/sbuffer.hpp
@@ -3,6 +3,11 @@
#ifndef INCLUDED_GRAS_SBUFFER_HPP
#define INCLUDED_GRAS_SBUFFER_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>
@@ -136,4 +141,8 @@ struct GRAS_API SBuffer : boost::intrusive_ptr<SBufferImpl>
#include <gras/detail/sbuffer.hpp>
+#ifdef _MSC_VER
+#pragma warning(pop)
+#endif //_MSC_VER
+
#endif /*INCLUDED_GRAS_SBUFFER_HPP*/