mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 04:06:41 +00:00
remove inline and use enable_if_t
This commit is contained in:
parent
d8d4351962
commit
d8897c4509
1 changed files with 4 additions and 4 deletions
|
@ -61,10 +61,10 @@ namespace NifOsg
|
|||
ValueInterpolator() = default;
|
||||
|
||||
template<class T = MapT>
|
||||
inline ValueInterpolator(typename std::enable_if<
|
||||
ValueInterpolator(typename std::enable_if_t<
|
||||
std::is_same<T, Nif::FloatKeyMap>::value,
|
||||
const Nif::NiFloatInterpolator
|
||||
>::type * interpolator) : mDefaultVal(interpolator->defaultVal)
|
||||
> * interpolator) : mDefaultVal(interpolator->defaultVal)
|
||||
{
|
||||
if (interpolator->data.empty())
|
||||
return;
|
||||
|
@ -77,10 +77,10 @@ namespace NifOsg
|
|||
};
|
||||
|
||||
template<class T = MapT>
|
||||
inline ValueInterpolator(typename std::enable_if<
|
||||
ValueInterpolator(typename std::enable_if_t<
|
||||
std::is_same<T, Nif::Vector3KeyMap>::value,
|
||||
const Nif::NiPoint3Interpolator
|
||||
>::type * interpolator) : mDefaultVal(interpolator->defaultVal)
|
||||
> * interpolator) : mDefaultVal(interpolator->defaultVal)
|
||||
{
|
||||
if (interpolator->data.empty())
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue