diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2014-03-14 21:58:14 +0100 |
---|---|---|
committer | Fedor Indutny <fedor.indutny@gmail.com> | 2014-03-16 16:15:33 +0400 |
commit | 91b4a561dfbaa5be170bc5dc1385519ea32ea9e2 (patch) | |
tree | d222a185379c938bf05702c805671fcde6fff392 /src/string_bytes.cc | |
parent | 1f17f88071cbfd6f02544d903c3b884f94dff052 (diff) | |
download | android-node-v8-91b4a561dfbaa5be170bc5dc1385519ea32ea9e2.tar.gz android-node-v8-91b4a561dfbaa5be170bc5dc1385519ea32ea9e2.tar.bz2 android-node-v8-91b4a561dfbaa5be170bc5dc1385519ea32ea9e2.zip |
src: remove unused ExternString constructor
Remove an unused (and unsafe) constructor. Unsafe because it doesn't
initialize the data_ field.
Diffstat (limited to 'src/string_bytes.cc')
-rw-r--r-- | src/string_bytes.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/string_bytes.cc b/src/string_bytes.cc index a00abbf3bf..3f9cdf4eb1 100644 --- a/src/string_bytes.cc +++ b/src/string_bytes.cc @@ -48,9 +48,6 @@ using v8::Value; template <typename ResourceType, typename TypeName> class ExternString: public ResourceType { public: - explicit ExternString(Isolate* isolate) : isolate_(isolate) { - } - ~ExternString() { delete[] data_; isolate()->AdjustAmountOfExternalAllocatedMemory(-length_); |