|
Boost-Commit : |
From: nesotto_at_[hidden]
Date: 2008-01-13 06:38:13
Author: nesotto
Date: 2008-01-13 06:38:13 EST (Sun, 13 Jan 2008)
New Revision: 42716
URL: http://svn.boost.org/trac/boost/changeset/42716
Log:
fixed #if -> #ifdef
Text files modified:
branches/release/boost/range/as_literal.hpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: branches/release/boost/range/as_literal.hpp
==============================================================================
--- branches/release/boost/range/as_literal.hpp (original)
+++ branches/release/boost/range/as_literal.hpp 2008-01-13 06:38:13 EST (Sun, 13 Jan 2008)
@@ -15,7 +15,7 @@
# pragma once
#endif
-#if BOOST_NO_FUNCTION_TEMPLATE_ORDERING
+#ifdef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
#include <boost/range/detail/as_literal.hpp>
#else
@@ -116,14 +116,14 @@
template< class Char, std::size_t sz >
- inline iterator_range<const Char*> as_literal( const Char (&arr)[sz] )
+ inline iterator_range<const Char*> as_literal( const Char (&arr)[sz] )
{
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x590)) && __BORLANDC__ >= 0x590
return boost::make_iterator_range<const Char*>( arr, arr + sz - 1 );
#else
return boost::make_iterator_range( arr, arr + sz - 1 );
#endif
- }
+ }
}
#endif // BOOST_NO_FUNCTION_TEMPLATE_ORDERING
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