Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83761 - trunk/boost/multi_array
From: garcia_at_[hidden]
Date: 2013-04-03 19:21:30


Author: garcia
Date: 2013-04-03 19:21:29 EDT (Wed, 03 Apr 2013)
New Revision: 83761
URL: http://svn.boost.org/trac/boost/changeset/83761

Log:
fixes #8368

Changed a macro to use ifndef rather than if to avoid warnings.

Text files modified:
   trunk/boost/multi_array/base.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/multi_array/base.hpp
==============================================================================
--- trunk/boost/multi_array/base.hpp (original)
+++ trunk/boost/multi_array/base.hpp 2013-04-03 19:21:29 EDT (Wed, 03 Apr 2013)
@@ -65,7 +65,7 @@
 // object creation in small-memory environments. Thus, the objects
 // can be left undefined by defining BOOST_MULTI_ARRAY_NO_GENERATORS
 // before loading multi_array.hpp.
-#if !BOOST_MULTI_ARRAY_NO_GENERATORS
+#ifndef BOOST_MULTI_ARRAY_NO_GENERATORS
 namespace {
   multi_array_types::extent_gen extents;
   multi_array_types::index_gen indices;


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