From 9b67f0447d272c78aa2c19b96c207b2ea17c6fef Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Thu, 12 Oct 2006 06:41:18 +0000 Subject: [PATCH] Suppress a couple of msvc class/struct warnings [SVN r35567] --- include/boost/python/docstring_options.hpp | 2 +- include/boost/python/numeric.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/python/docstring_options.hpp b/include/boost/python/docstring_options.hpp index 08346ebc..507a4c5d 100755 --- a/include/boost/python/docstring_options.hpp +++ b/include/boost/python/docstring_options.hpp @@ -62,7 +62,7 @@ class BOOST_PYTHON_DECL docstring_options : boost::noncopyable show_signatures_ = true; } - friend class objects::function; + friend struct objects::function; private: static volatile bool show_user_defined_; diff --git a/include/boost/python/numeric.hpp b/include/boost/python/numeric.hpp index 3868154b..66fde676 100644 --- a/include/boost/python/numeric.hpp +++ b/include/boost/python/numeric.hpp @@ -17,7 +17,7 @@ namespace boost { namespace python { namespace numeric { -struct array; +class array; namespace aux {