Commit 7cb061cd authored by da-woods's avatar da-woods Committed by GitHub

Correct delete -> delete[] in "cpp_nonstdint" test (GH-4239)

This was causing a (correct) warning.
parent c76e0c1e
...@@ -53,7 +53,7 @@ class Integral { ...@@ -53,7 +53,7 @@ class Integral {
resize_signed_int(bytes, N, extended, len); resize_signed_int(bytes, N, extended, len);
} }
bool res = memcmp(extended, other, len); bool res = memcmp(extended, other, len);
delete extended; delete [] extended;
return res; return res;
} }
bool operator!=(const long long val) const bool operator!=(const long long val) const
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment