swig related fix in units.hpp, swig parser needs named typename

This commit is contained in:
Alden Torres 2016-12-22 18:14:17 -05:00 committed by Arvid Norberg
parent 75f307c187
commit 21cf625132
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ namespace libtorrent {
namespace aux {
template<typename UnderlyingType, typename Tag
, typename = typename std::enable_if<std::is_integral<UnderlyingType>::value>::type>
, typename Cond = typename std::enable_if<std::is_integral<UnderlyingType>::value>::type>
struct strong_typedef
{
using underlying_type = UnderlyingType;