mirror of
https://github.com/boostorg/function.git
synced 2026-04-28 18:12:14 +02:00
Move to the "new" function<> syntax. He he.
[SVN r20320]
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ main()
|
||||
{
|
||||
// The second parameter should be int[], but some compilers (e.g., GCC)
|
||||
// complain about this
|
||||
boost::function<void, int*, int, int&, float&> sum_avg;
|
||||
boost::function<void (int*, int, int&, float&)> sum_avg;
|
||||
|
||||
sum_avg = &do_sum_avg;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user