A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nodejs/node/commit/440d4f42bd below:

fix -Wreturn-stack-address error · nodejs/node@440d4f4 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed Original file line number Diff line number Diff line change

@@ -23,7 +23,7 @@ std::optional<std::string_view> ConfigReader::GetDataFromArgs(

23 23

} else if (it->starts_with(flag_path)) {

24 24

// Case: "--experimental-config-file=foo"

25 25

if (it->size() > flag_path.size() && (*it)[flag_path.size()] == '=') {

26 -

return it->substr(flag_path.size() + 1);

26 +

return std::string_view(*it).substr(flag_path.size() + 1);

27 27

}

28 28

} else if (*it == default_file || it->starts_with(default_file)) {

29 29

has_default_config_file = true;

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4