Commit 5bd2ff63 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[CHANGE #304] removed deprecated boost::signal code. Replaced by boost::signals2::signal.

parent a974357a
...@@ -65,7 +65,7 @@ enum WThreadedFunctionNbThreads ...@@ -65,7 +65,7 @@ enum WThreadedFunctionNbThreads
class WThreadedFunctionBase // NOLINT class WThreadedFunctionBase // NOLINT
{ {
//! a type for exception signals //! a type for exception signals
typedef boost::signal< void ( WException const& ) > ExceptionSignal; typedef boost::signals2::signal< void ( WException const& ) > ExceptionSignal;
public: public:
//! a type for exception callbacks //! a type for exception callbacks
...@@ -175,7 +175,7 @@ template< class Function_T > ...@@ -175,7 +175,7 @@ template< class Function_T >
class WThreadedFunction : public WThreadedFunctionBase class WThreadedFunction : public WThreadedFunctionBase
{ {
//! a type for exception signals //! a type for exception signals
typedef boost::signal< void ( WException const& ) > ExceptionSignal; typedef boost::signals2::signal< void ( WException const& ) > ExceptionSignal;
public: public:
//! a type for exception callbacks //! a type for exception callbacks
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include <exception> #include <exception>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
#include <boost/signal.hpp> #include <boost/signals2/signal.hpp>
#include "WAssert.h" #include "WAssert.h"
#include "WException.h" #include "WException.h"
...@@ -43,10 +43,10 @@ class WWorkerThread : public WThreadedRunner ...@@ -43,10 +43,10 @@ class WWorkerThread : public WThreadedRunner
{ {
// typedefs // typedefs
//! a type for stop signals //! a type for stop signals
typedef boost::signal< void () > StopSignal; typedef boost::signals2::signal< void () > StopSignal;
//! a type for exception signals //! a type for exception signals
typedef boost::signal< void ( WException const& ) > ExceptionSignal; typedef boost::signals2::signal< void ( WException const& ) > ExceptionSignal;
public: public:
//typedefs //typedefs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment