Skip to content

Commit ee953f4

Browse files
authored
Bugfix/formatting (#11)
* Fixed src code formatting * Updated godbolt link
1 parent 7ad6782 commit ee953f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ g++ main.cpp -I include -std=c++17
7373
```
7474

7575
# Live Demo
76-
* ```x86-64 g++ 12.1```: **https://godbolt.org/z/d7a7Te1s3**
76+
* ```x86-64 g++ 12.1```: **https://godbolt.org/z/rjrxcbWo9**

include/constexpr_hash_map/constexpr_hash_map.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ class hash_map
160160
}
161161

162162
/// @private specific implementation for "const char*" equality is needed; uses recursion
163-
[[nodiscard]] constexpr bool equal(char const * lhs, char const * rhs) const noexcept
163+
[[nodiscard]] constexpr bool equal(const char* lhs, const char* rhs) const noexcept
164164
{
165165
return *lhs == *rhs && (*lhs == '\0' || equal(lhs + 1, rhs + 1));
166166
}

0 commit comments

Comments
 (0)