diff options
author | David Shah <davey1576@gmail.com> | 2018-06-07 13:36:42 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-07 13:36:42 +0200 |
commit | ed0c44891fb510c8181c2ae9332d7a030f0aaaff (patch) | |
tree | c6e29f6f39e1446a1f7ed91d382e52bb77631a35 /common | |
parent | 024ff8fa7d1aa7c9ae81afcac6f7c2499f44b624 (diff) | |
download | nextpnr-ed0c44891fb510c8181c2ae9332d7a030f0aaaff.tar.gz nextpnr-ed0c44891fb510c8181c2ae9332d7a030f0aaaff.tar.bz2 nextpnr-ed0c44891fb510c8181c2ae9332d7a030f0aaaff.zip |
Replacing Boost type_traits with std
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/pycontainers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/pycontainers.h b/common/pycontainers.h index 64fb265b..6e2cdea9 100644 --- a/common/pycontainers.h +++ b/common/pycontainers.h @@ -90,7 +90,7 @@ inline void KeyError() { PyErr_SetString(PyExc_KeyError, "Key not found"); } template<typename T> struct map_wrapper { - typedef boost::remove_cv_t<boost::remove_reference_t<typename T::key_type>> K; + typedef typename std::remove_cv<typename std::remove_reference<typename T::key_type>::type>::type K; typedef typename T::mapped_type V; typedef typename T::value_type KV; |