Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85225 - trunk/boost/flyweight/detail
From: joaquin_at_[hidden]
Date: 2013-08-06 13:19:47


Author: joaquin
Date: 2013-08-06 13:19:47 EDT (Tue, 06 Aug 2013)
New Revision: 85225
URL: http://svn.boost.org/trac/boost/changeset/85225

Log:
avoided potential clash with Apple macro

Text files modified:
   trunk/boost/flyweight/detail/flyweight_core.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/flyweight/detail/flyweight_core.hpp
==============================================================================
--- trunk/boost/flyweight/detail/flyweight_core.hpp Tue Aug 6 12:33:35 2013 (r85224)
+++ trunk/boost/flyweight/detail/flyweight_core.hpp 2013-08-06 13:19:47 EDT (Tue, 06 Aug 2013) (r85225)
@@ -1,4 +1,4 @@
-/* Copyright 2006-2009 Joaquin M Lopez Munoz.
+/* Copyright 2006-2013 Joaquin M Lopez Munoz.
  * Distributed under the Boost Software License, Version 1.0.
  * (See accompanying file LICENSE_1_0.txt or copy at
  * http://www.boost.org/LICENSE_1_0.txt)
@@ -63,11 +63,11 @@
   }
 
   template<typename Checker>
- static void erase(const handle_type& h,Checker check)
+ static void erase(const handle_type& h,Checker chk)
   {
     typedef typename core::lock_type lock_type;
     lock_type lock(core::mutex());
- if(check(h))core::factory().erase(h);
+ if(chk(h))core::factory().erase(h);
   }
 };
 


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