summaryrefslogtreecommitdiff
path: root/Kernel/API/Syscall.h
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2021-12-04 09:11:10 +0100
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-12-04 11:59:59 -0800
commit9b90f1fed5a81c52f006203ee2212f28bdc470d3 (patch)
treecb2ce91419cd6a5ee4cd8d8df114df8c9f34b8d8 /Kernel/API/Syscall.h
parent8e2d0c8d5cbbc8a2773c187090f2b652157fd5f5 (diff)
downloadserenity-9b90f1fed5a81c52f006203ee2212f28bdc470d3.zip
Kernel: Do not do integer to pointer conversion in constexpr functions
Creating pointers from arbitrary values is not a valid thing to do in constexpr functions. Furthermore, this functions is always called with runtime values anyways, so there's no use in having it be constexpr. Instead, make it ALWAYS_INLINE.
Diffstat (limited to 'Kernel/API/Syscall.h')
0 files changed, 0 insertions, 0 deletions