]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/model/functor.txx
creaButtonContainer & creaPanelButtonContainer: Deep errors have been solved!! ready...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / model / functor.txx
index 2c761358f1f489622e617ddfb68765097791eca5..e37abe53d3e367930eaab8bda53ee5cfeeb6b01e 100644 (file)
@@ -29,7 +29,7 @@ namespace creaButtonContainer
            {
                  ( *pt2Object.*fpt )( buttonName );
            }//yrt
-           catch ( std::exception& e )
+           catch ( const std::exception& e )
            {
                  std::cerr<< "TConcreteFunctor< TClass >::operator()( const ButtonIDType &buttonName )"
                                  <<" exception: " << e.what( ) << std::endl;
@@ -45,7 +45,7 @@ namespace creaButtonContainer
            {
                  ( *pt2Object.*fpt )( buttonName );
            }//yrt
-           catch ( std::exception& e )
+           catch ( const std::exception& e )
            {
                  std::cerr<< "TConcreteFunctor< TClass >::Call( const ButtonIDType &buttonName )"
                                  <<" exception: " << e.what( ) << std::endl;