summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls
diff options
context:
space:
mode:
authorEmanuele Torre <torreemanuele6@gmail.com>2020-08-01 07:13:50 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-01 10:44:42 +0200
commit5bf994d2d9fffa73f22f25f792e1482dc43a694e (patch)
tree3fa4800dbed124213b70789b7f0cc96891e6be41 /Kernel/Syscalls
parent75a4b1a27e97bbfb8bcd99ebbd3e42fab70a069a (diff)
downloadserenity-5bf994d2d9fffa73f22f25f792e1482dc43a694e.zip
AK: Use C++20 concepts to only allow Userspace wrappers of pointers
It was a bit odd that you could create a Userspace<int> and that Userspace<int>::ptr() returned an int instead of an int*. Let's use C++20 concepts to only allow creating Userspace objects with pointer types. :^)
Diffstat (limited to 'Kernel/Syscalls')
0 files changed, 0 insertions, 0 deletions