A RetroSearch Logo

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

Search Query:

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

fix dll build · nodejs/node@b8c3319 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+8

-3

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+8

-3

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

@@ -64,6 +64,11 @@ BuiltinLoader::BuiltinLoader()

64 64

#endif // HAVE_AMARO

65 65

}

66 66 67 +

std::ranges::keys_view<std::ranges::ref_view<const BuiltinSourceMap>>

68 +

BuiltinLoader::GetBuiltinIds() const {

69 +

return std::views::keys(*source_.read());

70 +

}

71 + 67 72

bool BuiltinLoader::Exists(const char* id) {

68 73

auto source = source_.read();

69 74

return source->find(id) != source->end();

Original file line number Diff line number Diff line change

@@ -127,9 +127,9 @@ class NODE_EXTERN_PRIVATE BuiltinLoader {

127 127 128 128

void CopySourceAndCodeCacheReferenceFrom(const BuiltinLoader* other);

129 129 130 -

[[nodiscard]] auto GetBuiltinIds() const {

131 -

return std::views::keys(*source_.read());

132 -

}

130 +

[[nodiscard]] std::ranges::keys_view<

131 +

std::ranges::ref_view<const BuiltinSourceMap>>

132 +

GetBuiltinIds() const;

133 133 134 134

void SetEagerCompile() { should_eager_compile_ = true; }

135 135

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