Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85923 - trunk/boost/container
From: steveire_at_[hidden]
Date: 2013-09-25 17:17:34


Author: skelly
Date: 2013-09-25 17:17:34 EDT (Wed, 25 Sep 2013)
New Revision: 85923
URL: http://svn.boost.org/trac/boost/changeset/85923

Log:
Container: Fix two pragma guards.

Fix typo in the MSC_VER macro check

Text files modified:
   trunk/boost/container/scoped_allocator.hpp | 2 +-
   trunk/boost/container/scoped_allocator_fwd.hpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/container/scoped_allocator.hpp
==============================================================================
--- trunk/boost/container/scoped_allocator.hpp Wed Sep 25 17:17:17 2013 (r85922)
+++ trunk/boost/container/scoped_allocator.hpp 2013-09-25 17:17:34 EDT (Wed, 25 Sep 2013) (r85923)
@@ -17,7 +17,7 @@
 #ifndef BOOST_CONTAINER_ALLOCATOR_SCOPED_ALLOCATOR_HPP
 #define BOOST_CONTAINER_ALLOCATOR_SCOPED_ALLOCATOR_HPP
 
-#if (defined MSC_VER) && (_MSC_VER >= 1200)
+#if defined (_MSC_VER)
 # pragma once
 #endif
 

Modified: trunk/boost/container/scoped_allocator_fwd.hpp
==============================================================================
--- trunk/boost/container/scoped_allocator_fwd.hpp Wed Sep 25 17:17:17 2013 (r85922)
+++ trunk/boost/container/scoped_allocator_fwd.hpp 2013-09-25 17:17:34 EDT (Wed, 25 Sep 2013) (r85923)
@@ -11,7 +11,7 @@
 #ifndef BOOST_CONTAINER_ALLOCATOR_SCOPED_ALLOCATOR_FWD_HPP
 #define BOOST_CONTAINER_ALLOCATOR_SCOPED_ALLOCATOR_FWD_HPP
 
-#if (defined MSC_VER) && (_MSC_VER >= 1200)
+#if defined(_MSC_VER)
 # pragma once
 #endif
 


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