diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-01-22 14:05:46 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-01-22 14:05:46 +0100 |
| commit | cd0a54353e804368d98e3765ade8654bb8452088 (patch) | |
| tree | 303b8d312cc2124217693ce50ba17e8b23d35d5b /modules | |
| parent | 60fde9fa4770d057be6249a040b96863177cd166 (diff) | |
| download | forstio-forstio-cd0a54353e804368d98e3765ade8654bb8452088.tar.gz | |
Diffstat (limited to 'modules')
| -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]; |
