From 5d9a7c92d3eb0a9cb719e6e6386d533da59a51db Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 26 Apr 2018 13:13:32 -0700 Subject: lib: Purge use of boost::assign, except for uhd::dict Replaced with initialization lists. Note: uhd::dict does not work with initializer lists without making changes to said data structure. This commit has no functional changes, so keeping the boost::assigns for uhd::dict. --- host/lib/rfnoc/blockdef_xml_impl.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'host/lib/rfnoc/blockdef_xml_impl.cpp') diff --git a/host/lib/rfnoc/blockdef_xml_impl.cpp b/host/lib/rfnoc/blockdef_xml_impl.cpp index 50faf6905..26622d649 100644 --- a/host/lib/rfnoc/blockdef_xml_impl.cpp +++ b/host/lib/rfnoc/blockdef_xml_impl.cpp @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include @@ -102,13 +101,13 @@ const device_addr_t blockdef::arg_t::ARG_ARGS( "port=0," ); -const std::set blockdef::arg_t::VALID_TYPES = boost::assign::list_of +const std::set blockdef::arg_t::VALID_TYPES = { // List all tags/args a can have here: - ("string") - ("int") - ("int_vector") - ("double") -; + "string", + "int", + "int_vector", + "double" +}; blockdef::arg_t::arg_t() { -- cgit v1.2.3