diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-04-26 13:13:32 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-05-02 17:01:21 -0700 |
commit | 5d9a7c92d3eb0a9cb719e6e6386d533da59a51db (patch) | |
tree | 024bda2ede2231784b55c48e1a23ab39fd97182d /host/tests/device3_test.cpp | |
parent | c52c0b69fc151c7596f9754e6b1e40dede531134 (diff) | |
download | uhd-5d9a7c92d3eb0a9cb719e6e6386d533da59a51db.tar.gz uhd-5d9a7c92d3eb0a9cb719e6e6386d533da59a51db.tar.bz2 uhd-5d9a7c92d3eb0a9cb719e6e6386d533da59a51db.zip |
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.
Diffstat (limited to 'host/tests/device3_test.cpp')
-rw-r--r-- | host/tests/device3_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/tests/device3_test.cpp b/host/tests/device3_test.cpp index 3a7f7c6cb..eb29d560f 100644 --- a/host/tests/device3_test.cpp +++ b/host/tests/device3_test.cpp @@ -68,9 +68,9 @@ class pseudo_device3_impl : public uhd::device3 _tree->create<std::string>("/name").set("Test Pseudo-Device3"); // We can re-use this: - std::map<size_t, ctrl_iface::sptr> ctrl_ifaces = boost::assign::map_list_of - (0, ctrl_iface::sptr(new pseudo_ctrl_iface_impl())) - ; + std::map<size_t, ctrl_iface::sptr> ctrl_ifaces{ + {0, ctrl_iface::sptr(new pseudo_ctrl_iface_impl())} + }; // Add two block controls: uhd::rfnoc::make_args_t make_args; |