diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-11-07 22:31:35 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-11-07 22:31:35 -0800 |
commit | 82c886d71c12ad902ea8b9c81c7993af7ddf2d2b (patch) | |
tree | dbeb619bbddfa7e342eebc08e18cfafd6a7299fe /001help.cc | |
parent | 562ceed016e00411407356cf6d7ec960b86811e1 (diff) | |
download | mu-82c886d71c12ad902ea8b9c81c7993af7ddf2d2b.tar.gz |
2392 - undo 2391
Yup, type ingredients were taking size 1 by default.
Diffstat (limited to '001help.cc')
-rw-r--r-- | 001help.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/001help.cc b/001help.cc index c193cf7d..e42dc6a7 100644 --- a/001help.cc +++ b/001help.cc @@ -96,11 +96,6 @@ template<typename T> typename T::mapped_type& get(T& map, typename T::key_type c assert(iter != map.end()); return iter->second; } -template<typename T> typename T::mapped_type const& get(const T& map, typename T::key_type const& key) { - typename T::const_iterator iter(map.find(key)); - assert(iter != map.end()); - return iter->second; -} template<typename T> typename T::mapped_type const& put(T& map, typename T::key_type const& key, typename T::mapped_type const& value) { map[key] = value; return map[key]; |