Removed implementation of JsonBufferAllocated::delete.

This commit is contained in:
Benoit Blanchon
2017-06-18 21:24:25 +02:00
committed by Benoit Blanchon
parent 476e5aaa86
commit 5da41edf6a
4 changed files with 5 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ class JsonBufferAllocated {
return jsonBuffer->alloc(n);
}
void operator delete(void *, JsonBuffer *)throw() {}
void operator delete(void *, JsonBuffer *)throw();
};
}
}

View File

@@ -18,7 +18,7 @@ namespace Internals {
// Used by List<T> and its iterators.
template <typename T>
struct ListNode : public Internals::JsonBufferAllocated {
ListNode() : next(NULL) {}
ListNode() throw() : next(NULL) {}
ListNode<T> *next;
T content;