diff options
author | 2023-01-12 19:10:41 -0800 | |
---|---|---|
committer | 2023-01-12 19:10:41 -0800 | |
commit | 766f8ceebc76dd749ba5c104f802c7ebda289db9 (patch) | |
tree | f84ee560938188261f7f5604a65b83aae354a646 /src/bun.js/bindings/JSStringDecoder.h | |
parent | c03f7c998dd22689412658177e3a5736ce6b9034 (diff) | |
parent | 32f8cb31be6fb5b0b9aea1c6d4e95d118e8ef816 (diff) | |
download | bun-766f8ceebc76dd749ba5c104f802c7ebda289db9.tar.gz bun-766f8ceebc76dd749ba5c104f802c7ebda289db9.tar.zst bun-766f8ceebc76dd749ba5c104f802c7ebda289db9.zip |
Merge branch 'main' into dylan/github-dependencies
Diffstat (limited to 'src/bun.js/bindings/JSStringDecoder.h')
-rw-r--r-- | src/bun.js/bindings/JSStringDecoder.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bun.js/bindings/JSStringDecoder.h b/src/bun.js/bindings/JSStringDecoder.h index 299c2fb96..bce1ae05d 100644 --- a/src/bun.js/bindings/JSStringDecoder.h +++ b/src/bun.js/bindings/JSStringDecoder.h @@ -11,7 +11,10 @@ class JSStringDecoder : public JSC::JSDestructibleObject { public: JSStringDecoder(JSC::VM& vm, JSC::Structure* structure, BufferEncodingType encoding) - : Base(vm, structure), m_lastNeed(0), m_lastTotal(0), m_encoding(encoding) + : Base(vm, structure) + , m_lastNeed(0) + , m_lastTotal(0) + , m_encoding(encoding) { } @@ -108,6 +111,7 @@ public: // Must be defined for each specialization class. static JSC::EncodedJSValue JSC_HOST_CALL_ATTRIBUTES construct(JSC::JSGlobalObject*, JSC::CallFrame*); DECLARE_EXPORT_INFO; + private: JSStringDecoderConstructor(JSC::VM& vm, JSC::Structure* structure, JSC::NativeFunction nativeFunction) : Base(vm, structure, nativeFunction, nativeFunction) |