aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/CharacterSet.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-05-17 11:04:08 +1000
committerNeil <nyamatongwe@gmail.com>2018-05-17 11:04:08 +1000
commitc5f7d797cda42ccf826b414e5d33b911e93ffe7b (patch)
tree3c8e43779716458d75bdc92e20077a9f2eb5cd30 /lexlib/CharacterSet.h
parent46024f0975c0f48cfff8986a5ff71aa4e3dbbee0 (diff)
downloadscintilla-mirror-c5f7d797cda42ccf826b414e5d33b911e93ffe7b.tar.gz
Use nullptr instead of 0 in headers as this diminishes the number of warnings.
Diffstat (limited to 'lexlib/CharacterSet.h')
-rw-r--r--lexlib/CharacterSet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/CharacterSet.h b/lexlib/CharacterSet.h
index 5965f38ca..7c2a1fe48 100644
--- a/lexlib/CharacterSet.h
+++ b/lexlib/CharacterSet.h
@@ -59,7 +59,7 @@ public:
}
~CharacterSet() {
delete []bset;
- bset = 0;
+ bset = nullptr;
size = 0;
}
CharacterSet &operator=(const CharacterSet &other) {