|
Boost-Commit : |
From: nesotto_at_[hidden]
Date: 2008-01-13 06:37:42
Author: nesotto
Date: 2008-01-13 06:37:41 EST (Sun, 13 Jan 2008)
New Revision: 42715
URL: http://svn.boost.org/trac/boost/changeset/42715
Log:
fixed #if to #ifdef
Text files modified:
trunk/boost/range/as_literal.hpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/boost/range/as_literal.hpp
==============================================================================
--- trunk/boost/range/as_literal.hpp (original)
+++ trunk/boost/range/as_literal.hpp 2008-01-13 06:37:41 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