summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/smallmap_type.hpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/smallmap_type.hpp b/src/core/smallmap_type.hpp
index 7581fc6a7..21cc0e76f 100644
--- a/src/core/smallmap_type.hpp
+++ b/src/core/smallmap_type.hpp
@@ -164,16 +164,6 @@ struct SmallMap : std::vector<SmallPair<T, U> > {
n.first = key;
return n.second;
}
-
- inline void SortByKey()
- {
- std::sort(std::vector<Pair>::begin(), std::vector<Pair>::end());
- }
-
- bool operator< (const Pair &other) const
- {
- return (*this).first < other.first;
- }
};
#endif /* SMALLMAP_TYPE_HPP */