Silence mismatched delete warning in spec helper
This commit is contained in:
parent
bf245f016c
commit
08e47001f1
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue