Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7858d65

Browse filesBrowse files
HarshithaKPtargos
authored andcommitted
src: suppress warning in src/node_env_var.cc
Initialise the superclass object in the copy constructor of mapKVStore PR-URL: #31136 Refs: #18983 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 1a0cda1 commit 7858d65
Copy full SHA for 7858d65

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎src/node_env_var.cc‎

Copy file name to clipboardExpand all lines: src/node_env_var.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class MapKVStore final : public KVStore {
4545
std::shared_ptr<KVStore> Clone(Isolate* isolate) const override;
4646

4747
MapKVStore() = default;
48-
MapKVStore(const MapKVStore& other) : map_(other.map_) {}
48+
MapKVStore(const MapKVStore& other) : KVStore(), map_(other.map_) {}
4949

5050
private:
5151
mutable Mutex mutex_;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.