From d7299896f058198edc692a0541cd3c3f0aef4eef Mon Sep 17 00:00:00 2001 From: Hans Dembinski Date: Tue, 7 Nov 2017 22:26:36 +0100 Subject: [PATCH] avoid warning --- include/boost/histogram/serialization.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_)) {