diff --git a/src/dsc.h b/src/dsc.h index 9b1183b..de5f7ee 100644 --- a/src/dsc.h +++ b/src/dsc.h @@ -313,7 +313,6 @@ public: } }; - // A list, where each element has an integer identifier. The list is kept // sorted by that identifier, and items can be looked up in log n time by // id. diff --git a/src/solvespace.h b/src/solvespace.h index 4e18a74..6d2687b 100644 --- a/src/solvespace.h +++ b/src/solvespace.h @@ -165,13 +165,8 @@ enum class Unit : uint32_t { METERS }; -template -struct CompareHandle { - bool operator()(T lhs, T rhs) const { return lhs.v < rhs.v; } -}; - template -using handle_map = std::map>; +using handle_map = std::map; class Group; class SSurface;