Skip to content

Commit

Permalink
Fix & regenerate sum_avg_portable.cpp
Browse files Browse the repository at this point in the history
[SVN r20402]
  • Loading branch information
DougGregor committed Oct 17, 2003
1 parent 2c70806 commit b09e7f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/tutorial.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ CopyConstructible, so we can even use references and arrays:
<tbody>
<row>
<entry>
<programlisting name="function.tutorial.sum_avg_decl.portable"><classname alt="functionN">boost::function4</classname>&lt;void, int[], int, int&amp;, float&amp;&gt; sum_avg;</programlisting>
<programlisting name="function.tutorial.sum_avg_decl.portable"><classname alt="functionN">boost::function4</classname>&lt;void, int*, int, int&amp;, float&amp;&gt; sum_avg;</programlisting>
</entry>
</row>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion test/sum_avg_portable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,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;
Expand Down

0 comments on commit b09e7f3

Please sign in to comment.