From 259f5babf1e1bc1595ad54c6588c1ff5117dc2e3 Mon Sep 17 00:00:00 2001
From: Josh Blum <josh@joshknows.com>
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 <boost/test/unit_test.hpp>
 #include <uhd/gain_handler.hpp>
-#include <uhd/utils.hpp>
+#include <uhd/dict.hpp>
 #include <iostream>
 
 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<std::string, gain_t> _gains;
-    std::map<std::string, gain_t> _gains_min;
-    std::map<std::string, gain_t> _gains_max;
-    std::map<std::string, gain_t> _gains_step;
+    uhd::dict<std::string, gain_t> _gains;
+    uhd::dict<std::string, gain_t> _gains_min;
+    uhd::dict<std::string, gain_t> _gains_max;
+    uhd::dict<std::string, gain_t> _gains_step;
 
 };
 
-- 
cgit v1.2.3