forked from premiere/premiere-libtorrent
swig related fix in units.hpp, swig parser needs named typename
This commit is contained in:
parent
75f307c187
commit
21cf625132
|
@ -45,7 +45,7 @@ namespace libtorrent {
|
||||||
namespace aux {
|
namespace aux {
|
||||||
|
|
||||||
template<typename UnderlyingType, typename Tag
|
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
|
struct strong_typedef
|
||||||
{
|
{
|
||||||
using underlying_type = UnderlyingType;
|
using underlying_type = UnderlyingType;
|
||||||
|
|
Loading…
Reference in New Issue