Externals/rangeset: use qualified 'size_t'

On clang-11 build failed as:

```
[ 42%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/PowerPC/Jit64/Jit.cpp.o
In file included from ../../../../Source/Core/Core/PowerPC/Jit64/Jit.cpp:5:
In file included from ../../../../Source/Core/Core/PowerPC/Jit64/Jit.h:21:
../../../../Externals/rangeset/include/rangeset/rangesizeset.h:325:3: error: unknown type name 'size_t'; did you mean 'std::size_t'?
  size_t size() const {
  ^
```

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Sergei Trofimovich 2021-01-21 22:52:26 +00:00
parent 3e66db2fd7
commit 8cfc41fb3b
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,7 @@
#pragma once
#include <cassert>
#include <cstddef>
#include <map>
namespace HyoutaUtilities {
@ -217,7 +218,7 @@ public:
return get_from(it) <= value && value < get_to(it);
}
size_t size() const {
std::size_t size() const {
return Map.size();
}

View File

@ -1,6 +1,7 @@
#pragma once
#include <cassert>
#include <cstddef>
#include <map>
#include <type_traits>
@ -322,7 +323,7 @@ public:
return get_from(it) <= value && value < get_to(it);
}
size_t size() const {
std::size_t size() const {
return Map.size();
}
@ -330,7 +331,7 @@ public:
return Map.empty();
}
size_t by_size_count(const SizeT& key) const {
std::size_t by_size_count(const SizeT& key) const {
return Sizes.count(key);
}