mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:17:35 +00:00
AK: Mark some helper things constexpr.
This commit is contained in:
parent
bf97b9589d
commit
2dd54f062a
2 changed files with 4 additions and 4 deletions
|
@ -66,7 +66,7 @@ private:
|
|||
char m_inline_buffer[0];
|
||||
};
|
||||
|
||||
inline dword string_hash(const char* characters, int length)
|
||||
inline constexpr dword string_hash(const char* characters, int length)
|
||||
{
|
||||
dword hash = 0;
|
||||
for (int i = 0; i < length; ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue