Skip to content

Commit

Permalink
Fix compiler error.
Browse files Browse the repository at this point in the history
Signed-off-by: Joey Kleingers <[email protected]>
  • Loading branch information
joeykleingers committed Jan 31, 2024
1 parent 3c6e0d7 commit 7587d6a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Plugins/SimplnxCore/wrapping/python/simplnxpy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,9 @@ template <class ParameterT>
auto BindVectorParameter(py::handle scope, const char* name)
{
auto vectorParameter = py::class_<ParameterT, IParameter>(scope, name);
vectorParameter.def(py::init<const std::string&, const std::string&, const std::string&, const typename ParameterT::ValueType&>(), "name"_a, "human_name"_a, "help_text"_a, "default_value"_a,
"names"_a);
vectorParameter.def(py::init<const std::string&, const std::string&, const std::string&, const typename ParameterT::ValueType&>(), "name"_a, "human_name"_a, "help_text"_a, "default_value"_a);
vectorParameter.def(py::init<const std::string&, const std::string&, const std::string&, const typename ParameterT::ValueType&, const typename ParameterT::NamesType&>(), "name"_a, "human_name"_a,
"help_text"_a, "default_value"_a);
"help_text"_a, "default_value"_a, "names"_a);
return vectorParameter;
}

Expand Down

0 comments on commit 7587d6a

Please sign in to comment.