Permalink
Browse files

updated example to new to_string interface

  • Loading branch information...
1 parent 83c2b26 commit a10a8d386a6226440b6b65926ba2f148c3a0b105 @Neverlord Neverlord committed Sep 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/announce_example_4.cpp
@@ -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();

0 comments on commit a10a8d3

Please sign in to comment.