summaryrefslogtreecommitdiff
path: root/Libraries/LibC/string.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-11-07 18:00:05 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-11-07 18:00:05 +0100
commit68e23bca3f732f69eb1521cc73cc6d346364b3cb (patch)
treee911cbf0a79c8e1901de3637dc7f7aac384fc34d /Libraries/LibC/string.h
parentb88ff975371a6d251f93b22596366c07007bacf3 (diff)
downloadserenity-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/LibC/string.h')
0 files changed, 0 insertions, 0 deletions