From 0f1fd1938b19dccdb5dbfe9cb5177c4342a2a5b5 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Thu, 29 Dec 2016 14:23:40 -0700 Subject: [PATCH] Fix conversion build error when building with Clang 4.0 --- c++/src/capnp/layout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c++/src/capnp/layout.h b/c++/src/capnp/layout.h index 850925a..b955f08 100644 --- a/src/capnp/layout.h +++ b/src/capnp/layout.h @@ -126,7 +126,7 @@template <> struct ElementSizeForType { static constexpr ElementSize value template <> struct ElementSizeForType { static constexpr ElementSize value = ElementSize::BIT; }; // Lists and blobs are pointers, not structs. -template struct ElementSizeForType> { +template struct ElementSizeForType> { static constexpr ElementSize value = ElementSize::POINTER; }; template <> struct ElementSizeForType {