From 6e42194f727993f4dcbfd6c14bf107caa9b5c5b5 Mon Sep 17 00:00:00 2001 From: Abit Date: Thu, 22 Mar 2018 15:08:56 +0100 Subject: [PATCH] Fix redefinition of default arg under macOS --- include/fc/variant.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fc/variant.hpp b/include/fc/variant.hpp index e9a55c1..821966b 100644 --- a/include/fc/variant.hpp +++ b/include/fc/variant.hpp @@ -561,7 +561,7 @@ namespace fc to_variant( val, *this, max_depth ); } #ifdef __APPLE__ - inline void to_variant( size_t s, variant& v, uint32_t max_depth = 1 ) { v = variant(uint64_t(s)); } + inline void to_variant( size_t s, variant& v, uint32_t max_depth ) { v = variant(uint64_t(s)); } #endif template void to_variant( const std::shared_ptr& var, variant& vo, uint32_t max_depth )