From 67df296650a72b8769fac58787148080ec771805 Mon Sep 17 00:00:00 2001 From: mydesktop Date: Wed, 30 Apr 2014 13:52:21 -0400 Subject: various fixes to allow mac osx compilation --- contrib/epee/include/serialization/keyvalue_serialization_overloads.h | 4 ++-- contrib/epee/include/storages/portable_storage.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'contrib/epee/include') diff --git a/contrib/epee/include/serialization/keyvalue_serialization_overloads.h b/contrib/epee/include/serialization/keyvalue_serialization_overloads.h index 54535a404..33486d9ec 100644 --- a/contrib/epee/include/serialization/keyvalue_serialization_overloads.h +++ b/contrib/epee/include/serialization/keyvalue_serialization_overloads.h @@ -281,7 +281,7 @@ namespace epee } }; template - struct base_serializable_types: public boost::mpl::vector::type + struct base_serializable_types: public boost::mpl::vector::type {}; //------------------------------------------------------------------------------------------------------------------- template struct selector; @@ -365,4 +365,4 @@ namespace epee return kv_serialization_overloads_impl_is_base_serializable_types, typename std::remove_const::type>::value>::kv_unserialize(d, stg, hparent_section, pname); } } -} \ No newline at end of file +} diff --git a/contrib/epee/include/storages/portable_storage.h b/contrib/epee/include/storages/portable_storage.h index c244dac19..21904da9e 100644 --- a/contrib/epee/include/storages/portable_storage.h +++ b/contrib/epee/include/storages/portable_storage.h @@ -210,7 +210,7 @@ namespace epee template bool portable_storage::get_value(const std::string& value_name, t_value& val, hsection hparent_section) { - BOOST_MPL_ASSERT(( boost::mpl::contains )); + //BOOST_MPL_ASSERT(( boost::mpl::contains )); //TRY_ENTRY(); if(!hparent_section) hparent_section = &m_root; storage_entry* pentry = find_storage_entry(value_name, hparent_section); -- cgit v1.2.3