diff --git a/components/nifosg/controller.hpp b/components/nifosg/controller.hpp index 7dae7f88a..a8f52b443 100644 --- a/components/nifosg/controller.hpp +++ b/components/nifosg/controller.hpp @@ -52,7 +52,11 @@ namespace NifOsg { } +#ifdef _MSC_VER ValueInterpolator(boost::shared_ptr keys, typename MapT::ValueType defaultVal = MapT::ValueType()) +#else + ValueInterpolator(boost::shared_ptr keys, typename MapT::ValueType defaultVal = typename MapT::ValueType()) +#endif : mKeys(keys) , mDefaultVal(defaultVal) {