Silence mismatched delete warning in spec helper

This commit is contained in:
Max Brunsfeld 2016-06-27 13:38:49 -07:00
parent bf245f016c
commit 08e47001f1

View file

@ -18,7 +18,7 @@ SpyInput::SpyInput(string content, size_t chars_per_chunk) :
strings_read({""}) {}
SpyInput::~SpyInput() {
delete buffer;
delete[] buffer;
}
const char * SpyInput::read(void *payload, size_t *bytes_read) {