|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61790 - trunk/libs/config/test
From: john_at_[hidden]
Date: 2010-05-05 13:43:06
Author: johnmaddock
Date: 2010-05-05 13:43:05 EDT (Wed, 05 May 2010)
New Revision: 61790
URL: http://svn.boost.org/trac/boost/changeset/61790
Log:
Fix inspection script issues.
Text files modified:
trunk/libs/config/test/boost_no_auto_declarations.ipp | 4 ++--
trunk/libs/config/test/boost_no_auto_multidecl.ipp | 4 ++--
trunk/libs/config/test/boost_no_com_value_init.ipp | 8 ++++----
trunk/libs/config/test/boost_no_rtti.ipp | 4 ++--
4 files changed, 10 insertions(+), 10 deletions(-)
Modified: trunk/libs/config/test/boost_no_auto_declarations.ipp
==============================================================================
--- trunk/libs/config/test/boost_no_auto_declarations.ipp (original)
+++ trunk/libs/config/test/boost_no_auto_declarations.ipp 2010-05-05 13:43:05 EDT (Wed, 05 May 2010)
@@ -11,14 +11,14 @@
namespace boost_no_auto_declarations {
-void check(int& x)
+void check_f(int& x)
{
}
int test()
{
auto x = 10;
- check(x);
+ check_f(x);
return 0;
}
Modified: trunk/libs/config/test/boost_no_auto_multidecl.ipp
==============================================================================
--- trunk/libs/config/test/boost_no_auto_multidecl.ipp (original)
+++ trunk/libs/config/test/boost_no_auto_multidecl.ipp 2010-05-05 13:43:05 EDT (Wed, 05 May 2010)
@@ -11,14 +11,14 @@
namespace boost_no_auto_multideclarations {
-void check(int& x, int*& y)
+void check_f(int& x, int*& y)
{
}
int test()
{
auto x = 10, *y = &x;
- check(x, y);
+ check_f(x, y);
return 0;
}
Modified: trunk/libs/config/test/boost_no_com_value_init.ipp
==============================================================================
--- trunk/libs/config/test/boost_no_com_value_init.ipp (original)
+++ trunk/libs/config/test/boost_no_com_value_init.ipp 2010-05-05 13:43:05 EDT (Wed, 05 May 2010)
@@ -636,7 +636,7 @@
}
// Returns the number of failures.
- unsigned check() const
+ unsigned check_failures() const
{
const unsigned num_failures =
FAILED_TO_VALUE_INITIALIZE(int_struct::data) +
@@ -868,7 +868,7 @@
unsigned total_num_failures = 0;
dirty_stack();
- const unsigned num_failures_of_a_temporary = value_initializer().check();
+ const unsigned num_failures_of_a_temporary = value_initializer().check_failures();
total_num_failures += num_failures_of_a_temporary;
if ( total_num_failures > 0 )
@@ -878,7 +878,7 @@
}
dirty_stack();
value_initializer object_on_stack;
- const unsigned num_failures_on_stack = object_on_stack.check();
+ const unsigned num_failures_on_stack = object_on_stack.check_failures();
total_num_failures += num_failures_on_stack;
if ( total_num_failures > 0 )
@@ -887,7 +887,7 @@
<< num_failures_on_stack << std::endl;
}
const value_initializer* const ptr = new value_initializer();
- const unsigned num_failures_on_heap = ptr->check();
+ const unsigned num_failures_on_heap = ptr->check_failures();
delete ptr;
total_num_failures += num_failures_on_heap;
Modified: trunk/libs/config/test/boost_no_rtti.ipp
==============================================================================
--- trunk/libs/config/test/boost_no_rtti.ipp (original)
+++ trunk/libs/config/test/boost_no_rtti.ipp 2010-05-05 13:43:05 EDT (Wed, 05 May 2010)
@@ -36,7 +36,7 @@
namespace boost_no_rtti
{
-int check(const A& a)
+int check_f(const A& a)
{
return typeid(a) == typeid(B) ? 0 : 1;
}
@@ -45,7 +45,7 @@
{
try{
B b;
- return check(b);
+ return check_f(b);
}
catch(...)
{
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