We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ad6782 commit ee953f4Copy full SHA for ee953f4
README.md
@@ -73,4 +73,4 @@ g++ main.cpp -I include -std=c++17
73
```
74
75
# Live Demo
76
-* ```x86-64 g++ 12.1```: **https://godbolt.org/z/d7a7Te1s3**
+* ```x86-64 g++ 12.1```: **https://godbolt.org/z/rjrxcbWo9**
include/constexpr_hash_map/constexpr_hash_map.hpp
@@ -160,7 +160,7 @@ class hash_map
160
}
161
162
/// @private specific implementation for "const char*" equality is needed; uses recursion
163
- [[nodiscard]] constexpr bool equal(char const * lhs, char const * rhs) const noexcept
+ [[nodiscard]] constexpr bool equal(const char* lhs, const char* rhs) const noexcept
164
{
165
return *lhs == *rhs && (*lhs == '\0' || equal(lhs + 1, rhs + 1));
166
0 commit comments