|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53654 - in sandbox/pinhole: boost/pinhole libs/pinhole/test
From: jmcintyre_at_[hidden]
Date: 2009-06-05 10:36:03
Author: jared
Date: 2009-06-05 10:36:02 EDT (Fri, 05 Jun 2009)
New Revision: 53654
URL: http://svn.boost.org/trac/boost/changeset/53654
Log:
pinhole - cleanup warnings in VS 2005
Text files modified:
sandbox/pinhole/boost/pinhole/map_key_value_iterators.hpp | 7 -------
sandbox/pinhole/libs/pinhole/test/test_property_groups.cpp | 5 ++++-
2 files changed, 4 insertions(+), 8 deletions(-)
Modified: sandbox/pinhole/boost/pinhole/map_key_value_iterators.hpp
==============================================================================
--- sandbox/pinhole/boost/pinhole/map_key_value_iterators.hpp (original)
+++ sandbox/pinhole/boost/pinhole/map_key_value_iterators.hpp 2009-06-05 10:36:02 EDT (Fri, 05 Jun 2009)
@@ -8,19 +8,12 @@
#ifndef BOOST_MAP_KEY_VALUE_ITERATORS
#define BOOST_MAP_KEY_VALUE_ITERATORS
-#if defined(BOOST_MSVC)
- #pragma warning(push)
- #pragma warning(disable: 4561 4996)
-#endif
#include <boost/iterator.hpp>
#include <boost/iterator/iterator_adaptor.hpp>
#include <boost/iterator/iterator_categories.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_pointer.hpp>
#include <boost/static_assert.hpp>
-#if defined(BOOST_MSVC)
- #pragma warning(pop)
-#endif
namespace boost { namespace pinhole
{
Modified: sandbox/pinhole/libs/pinhole/test/test_property_groups.cpp
==============================================================================
--- sandbox/pinhole/libs/pinhole/test/test_property_groups.cpp (original)
+++ sandbox/pinhole/libs/pinhole/test/test_property_groups.cpp 2009-06-05 10:36:02 EDT (Fri, 05 Jun 2009)
@@ -68,8 +68,11 @@
{
public:
- TestPropertyGroup() : property_group( PROPERTY_GROUP_NAME, NULL ), m_child1( this ), m_child2( this )
+ TestPropertyGroup() : property_group( PROPERTY_GROUP_NAME, NULL ), m_child1( NULL ), m_child2( NULL )
{
+ m_child1.set_parent( this );
+ m_child2.set_parent( this );
+
m_bool_var = false;
add_property(PROP_STRING, "PropString description", BOOST_SETTER(&TestPropertyGroup::SetString), BOOST_GETTER(&TestPropertyGroup::GetString));
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk