Skip to content

Commit

Permalink
Maybe like this.
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc committed Apr 19, 2024
1 parent 4708c24 commit 2dfc9c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/highfive/boost.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ struct inspector<boost::multi_array<T, Dims>> {
}
}

static void assert_c_order(type& val) {
static void assert_c_order(const type& val) {
if (!(val.storage_order() == boost::c_storage_order())) {
throw DataTypeException("Only C storage order is supported for 'boost::multi_array'.");
}
Expand Down

0 comments on commit 2dfc9c5

Please sign in to comment.