Skip to content

Commit e29260b

Browse files
committed
accept non-shared-pointer types in check_vector_param
1 parent 59d63d4 commit e29260b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/helper/parameter_checks.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ namespace adm_test {
162162
}
163163

164164
template <typename ParamT, typename ElementT, typename VectorT>
165-
void check_vector_param(std::shared_ptr<ElementT> element,
165+
void check_vector_param(ElementT element,
166166
detail::CanBeSetTo<VectorT> modifiedVal) {
167167
detail::check_vector_impl<ParamT>(detail::get_from_shared(element),
168168
modifiedVal.get());

0 commit comments

Comments
 (0)