Skip to content

Commit

Permalink
updated example to new to_string interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Neverlord committed Sep 10, 2012
1 parent 83c2b26 commit a10a8d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/announce_example_4.cpp
Expand Up @@ -119,7 +119,7 @@ int main(int, char**) {
},
on<baz>() >> [](const baz& val) {
// prints: baz ( foo ( 1, 2 ), bar ( foo ( 3, 4 ), 5 ) )
cout << to_string(val) << endl;
cout << to_string(object::from(val)) << endl;
}
);
shutdown();
Expand Down

0 comments on commit a10a8d3

Please sign in to comment.