mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 14:43:43 +00:00
[core] Implicit m2::Point hash
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -14,11 +14,13 @@
|
||||
#include <typeinfo>
|
||||
#include <utility>
|
||||
|
||||
#include "3party/skarupke/flat_hash_map.hpp"
|
||||
|
||||
// This class tracks usage of drape_ptr's and ref_ptr's
|
||||
class DpPointerTracker
|
||||
{
|
||||
public:
|
||||
typedef std::map<void *, std::pair<int, std::string>> TAlivePointers;
|
||||
using TAlivePointers = ska::flat_hash_map<void *, std::pair<int, std::string>>;
|
||||
|
||||
static DpPointerTracker & Instance();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user