From 259f5babf1e1bc1595ad54c6588c1ff5117dc2e3 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 12 Feb 2010 18:43:21 -0800 Subject: Made use of templated dict to replace used of map and to get rid of utility call. --- test/gain_handler_test.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test') diff --git a/test/gain_handler_test.cpp b/test/gain_handler_test.cpp index 30e88c445..c81221aac 100644 --- a/test/gain_handler_test.cpp +++ b/test/gain_handler_test.cpp @@ -17,7 +17,7 @@ #include #include -#include +#include #include using namespace uhd; @@ -74,7 +74,7 @@ private: return; case PROP_GAIN_NAMES: - val = prop_names_t(get_map_keys(_gains)); + val = prop_names_t(_gains.get_keys()); return; } } @@ -100,10 +100,10 @@ private: } gain_handler::sptr _gain_handler; - std::map _gains; - std::map _gains_min; - std::map _gains_max; - std::map _gains_step; + uhd::dict _gains; + uhd::dict _gains_min; + uhd::dict _gains_max; + uhd::dict _gains_step; }; -- cgit v1.2.3