Path: modernize C++: replace 'typedef' with 'using'

This commit is contained in:
wmayer
2022-08-29 22:21:01 +02:00
parent 3e009e2693
commit 236b40ab65
10 changed files with 32 additions and 32 deletions

View File

@@ -167,8 +167,8 @@ Py::List VoronoiPy::getCells() const {
return list;
}
typedef std::map<uintptr_t,bool> exterior_map_t;
typedef std::map<int32_t, std::set<int32_t> > coordinate_map_t;
using exterior_map_t = std::map<uintptr_t,bool>;
using coordinate_map_t = std::map<int32_t, std::set<int32_t> >;
#define VORONOI_USE_EXTERIOR_CACHE 1