forked from boostorg/bind
Minor void return fixes (MSVC 6 on -W4, g++ 2.95.3)
[SVN r11706]
This commit is contained in:
+10
-2
@@ -8,8 +8,6 @@
|
||||
//
|
||||
// mem_fn_test.cpp - a test for mem_fn.hpp
|
||||
//
|
||||
// Version 1.02.0001 (2001-08-30)
|
||||
//
|
||||
// Copyright (c) 2001 Peter Dimov and Multi Media Ltd.
|
||||
//
|
||||
// Permission to copy, use, modify, sell and distribute this software
|
||||
@@ -20,8 +18,18 @@
|
||||
|
||||
#include <boost/mem_fn.hpp>
|
||||
#include <boost/smart_ptr.hpp>
|
||||
|
||||
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
|
||||
#pragma warning(push, 3)
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
|
||||
struct X
|
||||
{
|
||||
mutable unsigned int hash;
|
||||
|
||||
Reference in New Issue
Block a user