src: use C++20 `consteval` for `FastStringKey` · nodejs/node@9075a1a · GitHub
Skip to content

Commit 9075a1a

Browse files
addaleaxaduh95
authored andcommitted
src: use C++20 consteval for FastStringKey
This makes it easier to avoid unintentional mis-usage of the API. PR-URL: #59148 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Ilyas Shabi <ilyasshabi94@gmail.com>
1 parent 3aee762 commit 9075a1a

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

src/util-inl.h

Lines changed: 8 additions & 1 deletion

src/util.h

Lines changed: 7 additions & 1 deletion

0 commit comments

Comments
 (0)