Add typedef for signal connection type

This commit is contained in:
Eric Frias 2014-06-26 11:58:57 -04:00
parent 1284c5e686
commit b8efe02cdb

View file

@ -8,6 +8,8 @@ namespace fc {
#if !defined(BOOST_NO_TEMPLATE_ALIASES)
template<typename T>
using signal = boost::signals2::signal<T>;
using scoped_connection = boost::signals2::scoped_connection;
#else
/** Workaround for missing Template Aliases feature in the VS 2012.
\warning Class defined below cannot have defined constructor (even base class has it)