From a10a8d386a6226440b6b65926ba2f148c3a0b105 Mon Sep 17 00:00:00 2001 From: Dominik Charousset Date: Mon, 10 Sep 2012 21:11:32 +0200 Subject: [PATCH] updated example to new to_string interface --- examples/announce_example_4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/announce_example_4.cpp b/examples/announce_example_4.cpp index 56219ffd79..beb066429a 100644 --- a/examples/announce_example_4.cpp +++ b/examples/announce_example_4.cpp @@ -119,7 +119,7 @@ int main(int, char**) { }, on() >> [](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();