diff options
Diffstat (limited to 'na/include')
| -rw-r--r-- | na/include/lume/list.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/na/include/lume/list.h b/na/include/lume/list.h index 35997ae..7c020a0 100644 --- a/na/include/lume/list.h +++ b/na/include/lume/list.h @@ -40,7 +40,7 @@ struct list_node { template <typename T, list_node T::*Member> static inline T *list_entry(list_node *node) { - constexpr size_t off = (size_t)(uintptr) & (((T *)nullptr)->*Member); + const size_t off = (size_t)(uintptr) & (((T *)nullptr)->*Member); return reinterpret_cast<T *>(reinterpret_cast<uintptr>(node) - off); } |
