From 6d27dfbbef85fe44ef0a969e53435707559565f8 Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Sat, 28 Feb 2004 21:21:30 +0000 Subject: [PATCH] fix min/max problems [SVN r22408] --- include/boost/config/suffix.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/config/suffix.hpp b/include/boost/config/suffix.hpp index 84d9a117..7262aa26 100644 --- a/include/boost/config/suffix.hpp +++ b/include/boost/config/suffix.hpp @@ -291,11 +291,11 @@ namespace std { template - inline const _Tp& min(const _Tp& __a, const _Tp& __b) { + inline const _Tp& min BOOST_PREVENT_MACRO_SUBSTITUTION (const _Tp& __a, const _Tp& __b) { return __b < __a ? __b : __a; } template - inline const _Tp& max(const _Tp& __a, const _Tp& __b) { + inline const _Tp& max BOOST_PREVENT_MACRO_SUBSTITUTION (const _Tp& __a, const _Tp& __b) { return __a < __b ? __b : __a; } }