Skip to content
Snippets Groups Projects
Commit 228a915d authored by Van Herck, Walter's avatar Van Herck, Walter
Browse files

Fix compilation error on VS2013 (C2797: list initialization inside member...

Fix compilation error on VS2013 (C2797: list initialization inside member initializer list or non-static data member initializer is not implemented)
parent b8a9ff46
No related branches found
No related tags found
No related merge requests found
...@@ -75,9 +75,9 @@ P_integrator_real<T> make_integrator_real(const T *object, real_integrand<T> mem ...@@ -75,9 +75,9 @@ P_integrator_real<T> make_integrator_real(const T *object, real_integrand<T> mem
template<class T> IntegratorReal<T>::IntegratorReal( template<class T> IntegratorReal<T>::IntegratorReal(
const T *p_object, real_integrand<T> p_member_function) const T *p_object, real_integrand<T> p_member_function)
: m_cb { p_object, p_member_function } : mp_gsl_workspace { nullptr }
, mp_gsl_workspace { nullptr }
{ {
m_cb = CallBackHolder{ p_object, p_member_function };
mp_gsl_workspace = gsl_integration_workspace_alloc(200); mp_gsl_workspace = gsl_integration_workspace_alloc(200);
} }
......
...@@ -23,7 +23,7 @@ INamed::INamed() ...@@ -23,7 +23,7 @@ INamed::INamed()
} }
INamed::INamed(std::string name) INamed::INamed(std::string name)
: m_name { std::move(name) } : m_name ( std::move(name) )
{ {
} }
......
...@@ -91,7 +91,7 @@ ParameterPattern::ParameterPattern() ...@@ -91,7 +91,7 @@ ParameterPattern::ParameterPattern()
} }
ParameterPattern::ParameterPattern(std::string root_object) ParameterPattern::ParameterPattern(std::string root_object)
: m_pattern { "/" + root_object } : m_pattern ( "/" + root_object )
{ {
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment