Skip to content

Commit 492d848

Browse files
committed
Fix compiling on linux
1 parent 5430f30 commit 492d848

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/bh_python/multi_weight.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct multi_weight_base : public BASE {
3636
template <class T>
3737
struct multi_weight_reference : public multi_weight_base<T, boost::span<T>> {
3838
//using boost::span<T>::span;
39-
using multi_weight_base::multi_weight_base;
39+
using multi_weight_base<T, boost::span<T>>::multi_weight_base;
4040

4141
void operator()(const boost::span<T> values) { operator+=(values); }
4242

@@ -77,7 +77,7 @@ struct multi_weight_reference : public multi_weight_base<T, boost::span<T>> {
7777

7878
template <class T>
7979
struct multi_weight_value : public multi_weight_base<T, std::vector<T>> {
80-
using multi_weight_base::multi_weight_base;
80+
using multi_weight_base<T, std::vector<T>>::multi_weight_base;
8181

8282
multi_weight_value(const boost::span<T> values) {
8383
this->assign(values.begin(), values.end());

0 commit comments

Comments
 (0)