1
0
forked from boostorg/bind

Use object placeholders for g++ 4.1+, reported and PCH-tested by Daniel Walker

[SVN r38164]
This commit is contained in:
Peter Dimov
2007-07-07 17:22:26 +00:00
parent ce24d4f735
commit e163aeb563

View File

@@ -25,7 +25,7 @@
namespace
{
#if defined(__BORLANDC__) || defined(__GNUC__)
#if defined(__BORLANDC__) || defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ <= 400)
static inline boost::arg<1> _1() { return boost::arg<1>(); }
static inline boost::arg<2> _2() { return boost::arg<2>(); }