mirror of
https://github.com/boostorg/function.git
synced 2025-07-17 06:32:13 +02:00
doc/tutorial.xml: fix a typo in the example code (thanks Jens!)
test/sum_avg_portable.cpp: regenerated. [SVN r19136]
This commit is contained in:
@ -25,7 +25,7 @@ void do_sum_avg(int values[], int n, int& sum, float& avg)
|
||||
}
|
||||
int main()
|
||||
{
|
||||
boost::function4<void, int[], int, int&, float> sum_avg;
|
||||
boost::function4<void, int[], int, int&, float&> sum_avg;
|
||||
sum_avg = &do_sum_avg;
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user