From 3ff8a54d7b9ddcb022d95b3b139ec46b7c7ad748 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 5 Apr 2007 10:50:11 +0000 Subject: Implemented decorations which are extended indicators. --- src/SplitVector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/SplitVector.h') 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; } -- cgit v1.2.3