mirror of
https://github.com/boostorg/function.git
synced 2025-07-15 13:46:36 +02:00
Fixed broken testcases that came from tutorial sample code
[SVN r16935]
This commit is contained in:
@ -9,6 +9,8 @@ struct X {
|
||||
int foo(int);
|
||||
};
|
||||
|
||||
int X::foo(int x) { return -x; }
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
@ -20,4 +22,3 @@ X x;
|
||||
f(&x, 5);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user