aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/SplitVector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/SplitVector.h')
-rw-r--r--src/SplitVector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SplitVector.h b/src/SplitVector.h
index 4b9875b4a..342be02ad 100644
--- a/src/SplitVector.h
+++ b/src/SplitVector.h
@@ -66,7 +66,7 @@ public:
~SplitVector() {
delete []body;
- body = NULL;
+ body = 0;
}
int GetGrowSize() const {
@@ -85,7 +85,7 @@ public:
// Move the gap to the end
GapTo(lengthBody);
T *newBody = new T[newSize];
- if ((size != 0) && (body != NULL)) {
+ if ((size != 0) && (body != 0)) {
memmove(newBody, body, sizeof(T) * lengthBody);
delete []body;
}