aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-09-28 12:09:27 +0200
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:10 -0800
commite9fa920ad86ee9d270789a564726a08591408312 (patch)
tree58bf04b5ee89393219d8061766e82e8e806fa2e8 /host/include
parent8aaf42a280b8ef58e1068a22c049c914b9803f99 (diff)
downloaduhd-e9fa920ad86ee9d270789a564726a08591408312.tar.gz
uhd-e9fa920ad86ee9d270789a564726a08591408312.tar.bz2
uhd-e9fa920ad86ee9d270789a564726a08591408312.zip
soft_register: Replace boost::unordered_map with std version
This is the only occurrence of boost::unordered_map in UHD.
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/utils/soft_register.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/include/uhd/utils/soft_register.hpp b/host/include/uhd/utils/soft_register.hpp
index cae056313..b6897551f 100644
--- a/host/include/uhd/utils/soft_register.hpp
+++ b/host/include/uhd/utils/soft_register.hpp
@@ -17,8 +17,8 @@
#include <boost/thread/locks.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/tokenizer.hpp>
-#include <boost/unordered_map.hpp>
#include <list>
+#include <unordered_map>
/*! \file soft_register.hpp
* Utilities to access and index hardware registers.
@@ -568,7 +568,7 @@ protected:
}
private:
- typedef boost::unordered_map<std::string, soft_register_base*> regmap_t;
+ typedef std::unordered_map<std::string, soft_register_base*> regmap_t;
typedef std::list<soft_register_base*> reglist_t;
const std::string _name;