mirror of
https://github.com/boostorg/multi_array.git
synced 2025-05-12 13:51:36 +00:00
fixes #8368
Changed a macro to use ifndef rather than if to avoid warnings. [SVN r83761]
This commit is contained in:
parent
6e19d4b886
commit
795fda0d0f
@ -65,7 +65,7 @@ namespace multi_array_types {
|
|||||||
// object creation in small-memory environments. Thus, the objects
|
// object creation in small-memory environments. Thus, the objects
|
||||||
// can be left undefined by defining BOOST_MULTI_ARRAY_NO_GENERATORS
|
// can be left undefined by defining BOOST_MULTI_ARRAY_NO_GENERATORS
|
||||||
// before loading multi_array.hpp.
|
// before loading multi_array.hpp.
|
||||||
#if !BOOST_MULTI_ARRAY_NO_GENERATORS
|
#ifndef BOOST_MULTI_ARRAY_NO_GENERATORS
|
||||||
namespace {
|
namespace {
|
||||||
multi_array_types::extent_gen extents;
|
multi_array_types::extent_gen extents;
|
||||||
multi_array_types::index_gen indices;
|
multi_array_types::index_gen indices;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user