Add typedef for signal connection type
This commit is contained in:
parent
1284c5e686
commit
b8efe02cdb
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,8 @@ namespace fc {
|
||||||
#if !defined(BOOST_NO_TEMPLATE_ALIASES)
|
#if !defined(BOOST_NO_TEMPLATE_ALIASES)
|
||||||
template<typename T>
|
template<typename T>
|
||||||
using signal = boost::signals2::signal<T>;
|
using signal = boost::signals2::signal<T>;
|
||||||
|
|
||||||
|
using scoped_connection = boost::signals2::scoped_connection;
|
||||||
#else
|
#else
|
||||||
/** Workaround for missing Template Aliases feature in the VS 2012.
|
/** Workaround for missing Template Aliases feature in the VS 2012.
|
||||||
\warning Class defined below cannot have defined constructor (even base class has it)
|
\warning Class defined below cannot have defined constructor (even base class has it)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue