From 044bbc437c2305bebf0975f4079a31539bcdd283 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Thu, 6 Dec 2007 11:54:28 +0000 Subject: [PATCH] Give an implementation function a clearer name. [SVN r41784] --- test/objects/exception.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/objects/exception.hpp b/test/objects/exception.hpp index a20588e6..8bb50a7b 100644 --- a/test/objects/exception.hpp +++ b/test/objects/exception.hpp @@ -118,21 +118,21 @@ namespace test { }; template - inline void call_with_increased_arity(void (T::*fn)() const, T2 const& obj, + inline void call_ignore_extra_parameters(void (T::*fn)() const, T2 const& obj, P1&, P2&) { (obj.*fn)(); } template - inline void call_with_increased_arity(void (T::*fn)(P1&) const, T2 const& obj, + inline void call_ignore_extra_parameters(void (T::*fn)(P1&) const, T2 const& obj, P1& p1, P2&) { (obj.*fn)(p1); } template - inline void call_with_increased_arity(void (T::*fn)(P1&, P2&) const, T2 const& obj, + inline void call_ignore_extra_parameters(void (T::*fn)(P1&, P2&) const, T2 const& obj, P1& p1, P2& p2) { (obj.*fn)(p1, p2); @@ -156,10 +156,10 @@ namespace test { strong.store(x); try { ENABLE_EXCEPTIONS; - call_with_increased_arity(&Test::run, test_, x, strong); + call_ignore_extra_parameters(&Test::run, test_, x, strong); } catch(...) { - call_with_increased_arity(&Test::check, test_, + call_ignore_extra_parameters(&Test::check, test_, constant(x), constant(strong)); throw; }