Boost logo

Boost-Commit :

From: stipe_at_[hidden]
Date: 2008-03-09 17:53:09


Author: srajko
Date: 2008-03-09 17:53:09 EDT (Sun, 09 Mar 2008)
New Revision: 43549
URL: http://svn.boost.org/trac/boost/changeset/43549

Log:
fixed examples
Text files modified:
   sandbox/SOC/2007/signals/libs/dataflow/example/signals/gil_example.cpp | 2 +-
   sandbox/SOC/2007/signals/libs/dataflow/example/signals/intro_example.cpp | 4 ++--
   2 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/SOC/2007/signals/libs/dataflow/example/signals/gil_example.cpp
==============================================================================
--- sandbox/SOC/2007/signals/libs/dataflow/example/signals/gil_example.cpp (original)
+++ sandbox/SOC/2007/signals/libs/dataflow/example/signals/gil_example.cpp 2008-03-09 17:53:09 EDT (Sun, 09 Mar 2008)
@@ -90,7 +90,7 @@
 
 //[ gil_example_image_display
 
-class image_display : public signals::consumer<>
+class image_display : public signals::consumer<image_display>
 {
 public:
     // Upon receiving an image, cout an ASCII approximation.

Modified: sandbox/SOC/2007/signals/libs/dataflow/example/signals/intro_example.cpp
==============================================================================
--- sandbox/SOC/2007/signals/libs/dataflow/example/signals/intro_example.cpp (original)
+++ sandbox/SOC/2007/signals/libs/dataflow/example/signals/intro_example.cpp 2008-03-09 17:53:09 EDT (Sun, 09 Mar 2008)
@@ -9,7 +9,7 @@
 using namespace boost;
 
 //[ signal_void_counter
-class SignalVoidCounter : public signals::consumer<>
+class SignalVoidCounter : public signals::consumer<SignalVoidCounter>
 {
     int cnt;
 public:
@@ -26,7 +26,7 @@
 //]
 
 //[ fused_signal_void_counter
-class FusedSignalVoidCounter : public signals::consumer<>
+class FusedSignalVoidCounter : public signals::consumer<FusedSignalVoidCounter>
 {
     int cnt;
 public:


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk