Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
src: suppress warning in src/node_env_var.cc
Initialise the superclass object in the copy constructor of mapKVStore
  • Loading branch information
HarshithaKP committed Dec 30, 2019
commit ee08901136a271e8bb15a4ff9c4884036e3b53b9
2 changes: 1 addition & 1 deletion src/node_env_var.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class MapKVStore final : public KVStore {
std::shared_ptr<KVStore> Clone(Isolate* isolate) const override;

MapKVStore() = default;
MapKVStore(const MapKVStore& other) : map_(other.map_) {}
MapKVStore(const MapKVStore& other) : KVStore(), map_(other.map_) {}

private:
mutable Mutex mutex_;
Expand Down