From 91efd0b6edd0a42ef2aea2f632e142a8346ca2bc Mon Sep 17 00:00:00 2001 From: Sebastian Hillig Date: Sun, 25 Aug 2013 10:44:52 +0200 Subject: [PATCH] Replace size_t with size_type * fixes a compiling error with recent clang++ --- include/cereal/archives/json.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cereal/archives/json.hpp b/include/cereal/archives/json.hpp index 52cb03d38..28b928fe6 100644 --- a/include/cereal/archives/json.hpp +++ b/include/cereal/archives/json.hpp @@ -358,7 +358,7 @@ namespace cereal }; //! Loads the size for a SizeTag - void loadSize(size_t & size) + void loadSize(size_type & size) { size = (itsValueStack.rbegin() + 1)->value().Size(); }