mirror of
https://github.com/boostorg/function.git
synced 2025-07-18 23:22:08 +02:00
function_n_test.cpp:
function_test.cpp: - Updated testcases to reflect semantic change in const calling policy_test.cpp: - precall/postcall in policy should take pointers to const function_base [SVN r10686]
This commit is contained in:
@ -27,8 +27,8 @@ struct counting_policy
|
||||
{
|
||||
static int count;
|
||||
|
||||
void precall(function_base*) { count++; }
|
||||
void postcall(function_base*) { count+=2; }
|
||||
void precall(const function_base*) { count++; }
|
||||
void postcall(const function_base*) { count+=2; }
|
||||
};
|
||||
|
||||
int counting_policy::count = 0;
|
||||
|
Reference in New Issue
Block a user