diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-11-07 18:00:05 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-11-07 18:00:05 +0100 |
commit | 68e23bca3f732f69eb1521cc73cc6d346364b3cb (patch) | |
tree | e911cbf0a79c8e1901de3637dc7f7aac384fc34d /Libraries | |
parent | b88ff975371a6d251f93b22596366c07007bacf3 (diff) | |
download | serenity-68e23bca3f732f69eb1521cc73cc6d346364b3cb.zip |
AK: Delete operator!() and operator bool() from the Nonnull pointers
Since NonnullRefPtr and NonnullOwnPtr cannot be null, it is pointless
to convert them to a bool, since it would always be true.
This patch makes it an error to null-check one of these pointers.
Diffstat (limited to 'Libraries')
0 files changed, 0 insertions, 0 deletions