Commit 5bd2ff63 by Sebastian Eichelbaum

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

parent a974357a
......@@ -65,7 +65,7 @@ enum WThreadedFunctionNbThreads
class WThreadedFunctionBase // NOLINT
{
//! a type for exception signals
typedef boost::signal< void ( WException const& ) > ExceptionSignal;
typedef boost::signals2::signal< void ( WException const& ) > ExceptionSignal;
public:
//! a type for exception callbacks
......@@ -175,7 +175,7 @@ template< class Function_T >
class WThreadedFunction : public WThreadedFunctionBase
{
//! a type for exception signals
typedef boost::signal< void ( WException const& ) > ExceptionSignal;
typedef boost::signals2::signal< void ( WException const& ) > ExceptionSignal;
public:
//! a type for exception callbacks
......
......@@ -29,7 +29,7 @@
#include <exception>
#include <boost/shared_ptr.hpp>
#include <boost/signal.hpp>
#include <boost/signals2/signal.hpp>
#include "WAssert.h"
#include "WException.h"
......@@ -43,10 +43,10 @@ class WWorkerThread : public WThreadedRunner
{
// typedefs
//! a type for stop signals
typedef boost::signal< void () > StopSignal;
typedef boost::signals2::signal< void () > StopSignal;
//! a type for exception signals
typedef boost::signal< void ( WException const& ) > ExceptionSignal;
typedef boost::signals2::signal< void ( WException const& ) > ExceptionSignal;
public:
//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