X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/55a08c7439db5b0335a5b26e40b3a46e1e03d3e8..39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f:/src/mc/sosp/PageStore.hpp diff --git a/src/mc/sosp/PageStore.hpp b/src/mc/sosp/PageStore.hpp index 702fc15d39..2311e33d12 100644 --- a/src/mc/sosp/PageStore.hpp +++ b/src/mc/sosp/PageStore.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2015-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2015-2021. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -73,15 +73,15 @@ namespace mc { */ class PageStore { public: // Types - typedef std::uint64_t hash_type; + using hash_type = std::uint64_t; private: // Types // We are using a cheap hash to index a page. // We should expect collision and we need to associate multiple page indices // to the same hash. - typedef std::unordered_set page_set_type; - typedef std::unordered_map pages_map_type; + using page_set_type = std::unordered_set; + using pages_map_type = std::unordered_map; // Fields: /** First page */