]> Creatis software - bbtk.git/blobdiff - samples/SampleOutputObserver/bbtkSampleOutputObserver.cxx
Windows compatibility
[bbtk.git] / samples / SampleOutputObserver / bbtkSampleOutputObserver.cxx
index 71ccbd8975b216473a18b3be332ae95993edfb84..9d32543e69a8fd41b85fbf8c3c3dad0ea8d13d6e 100644 (file)
@@ -12,7 +12,7 @@ void CallbackFunction ( bbtk::BlackBox::Pointer p,  // The black box which chang
                        bbtk::IOStatus s) // The new status of the output
 {
   std::cout << "== Callback function called with p="<<p->bbGetName()
-           <<" o="<<o<<" s="<<bbtk::GetIOStatusString(s)<<std::endl;
+           <<" o="<<o<<" s="<<s/*bbtk::GetIOStatusString(s)*/<<std::endl;
 
   // Cast the black box pointer into Slider pointer
   bbwx::Slider::Pointer slider = boost::dynamic_pointer_cast<bbwx::Slider>(p);
@@ -113,7 +113,7 @@ void ClassWithTwoSliders::OnSlider( bbtk::BlackBox::Pointer p,
                                    bbtk::IOStatus s )
 {
   std::cout << "== 'OnSlider' called with p="<<p->bbGetName()
-           <<" o="<<o<<" s="<<bbtk::GetIOStatusString(s)<<std::endl;
+           <<" o="<<o<<" s="<<s/*bbtk::GetIOStatusString(s)*/<<std::endl;
   
   if ((p==mSlider1) && (o=="Out"))
     {