diff --git a/include/boost/histogram/serialization.hpp b/include/boost/histogram/serialization.hpp index 78206677..1ef06e01 100644 --- a/include/boost/histogram/serialization.hpp +++ b/include/boost/histogram/serialization.hpp @@ -86,7 +86,7 @@ void adaptive_storage::serialize(Archive &ar, unsigned /* version */) { } } else { unsigned tid = 0; - if (array *a = get>(&buffer_)) { + if (get>(&buffer_)) { tid = 0; ar &tid; } else if (array *a = get>(&buffer_)) {