Merge pull request #50 from dashprint/fix-char-signedness

Fix char signedness in DMap
This commit is contained in:
Arun Muralidharan 2019-10-08 14:23:32 +05:30 committed by GitHub
commit d02a544f1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,7 +153,7 @@ public:
constexpr DMap() = default; constexpr DMap() = default;
public: public:
constexpr char at(size_t pos) const noexcept constexpr signed char at(size_t pos) const noexcept
{ {
return X_ASSERT(pos < map_.size()), map_[pos]; return X_ASSERT(pos < map_.size()), map_[pos];
} }