mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 19:34:34 +00:00
Support vector<string> setting types
This commit is contained in:
@@ -286,7 +286,7 @@
|
||||
} else if constexpr (std::is_same_v<std::remove_cv_t<std::remove_reference_t<T>>, std::set<std::string>>) {
|
||||
std::vector<std::string> vs(t.begin(), t.end());
|
||||
return pythonize_vector(vs);
|
||||
} else if constexpr (std::is_same_v<std::remove_cv_t<std::remove_reference_t<T>>, std::vector<double>>) {
|
||||
} else if constexpr (is_std_vector_v<std::remove_cv_t<std::remove_reference_t<T>>>) {
|
||||
return pythonize_vector(t);
|
||||
} else {
|
||||
return pythonize(t);
|
||||
|
||||
Reference in New Issue
Block a user