From 5fbb6558ec37481ba03b6fb32b3ecdb142460639 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 6 Oct 2005 19:03:19 +0000 Subject: [PATCH] Switched GCC to use inline function placeholders because of PCH limitations (Matthew Gruenke) [SVN r31210] --- include/boost/bind/placeholders.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/bind/placeholders.hpp b/include/boost/bind/placeholders.hpp index 8feed58..a8098a7 100644 --- a/include/boost/bind/placeholders.hpp +++ b/include/boost/bind/placeholders.hpp @@ -25,7 +25,7 @@ namespace { -#if defined(__BORLANDC__) +#if defined(__BORLANDC__) || defined(__GNUC__) static inline boost::arg<1> _1() { return boost::arg<1>(); } static inline boost::arg<2> _2() { return boost::arg<2>(); }