Commit d3c43642 authored by Dominik Charousset's avatar Dominik Charousset

Adapt to latest CAF API changes

parent a7d96ef1
......@@ -69,7 +69,8 @@ public:
// allows serialization
template <class Inspector>
friend error inspect(Inspector& f, square_matrix& m) {
friend typename Inspector::result_type inspect(Inspector& f,
square_matrix& m) {
return f(meta::type_name("square_matrix"), m.data_);
}
......
......@@ -114,7 +114,8 @@ public:
static constexpr size_t num_elements = Size * Size;
template <class Inspector>
friend error inspect(Inspector& f, square_matrix& x) {
friend typename Inspector::result_type inspect(Inspector& f,
square_matrix& x) {
return f(meta::type_name("square_matrix"), x.data_);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment