summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/env.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/env.h b/src/env.h
index 1356f0bbbc..df389f3bea 100644
--- a/src/env.h
+++ b/src/env.h
@@ -582,6 +582,13 @@ class AsyncRequest : public MemoryRetainer {
class KVStore {
public:
+ KVStore() = default;
+ virtual ~KVStore() = default;
+ KVStore(const KVStore&) = delete;
+ KVStore& operator=(const KVStore&) = delete;
+ KVStore(KVStore&&) = delete;
+ KVStore& operator=(KVStore&&) = delete;
+
virtual v8::Local<v8::String> Get(v8::Isolate* isolate,
v8::Local<v8::String> key) const = 0;
virtual void Set(v8::Isolate* isolate,