diff options
| -rw-r--r-- | modules/codec/c++/data.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp index 3122b4b..3aab554 100644 --- a/modules/codec/c++/data.hpp +++ b/modules/codec/c++/data.hpp @@ -371,7 +371,7 @@ public: } constexpr data<T,encode::Native>* flat_data() { - if constexpr (flat_dims() == 0u) { + if constexpr (flat_dims().get() == 0u) { return nullptr; } return &value_[0u]; |
