File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,8 @@ BuiltinLoader::BuiltinLoader()
64
64
#endif // HAVE_AMARO
65
65
}
66
66
67
- auto BuiltinLoader::GetBuiltinIds () const -> decltype(auto ) {
67
+ std::ranges::keys_view<std::ranges::ref_view<const BuiltinSourceMap>>
68
+ BuiltinLoader::GetBuiltinIds () const {
68
69
return std::views::keys (*source_.read ());
69
70
}
70
71
Original file line number Diff line number Diff line change @@ -127,7 +127,9 @@ class NODE_EXTERN_PRIVATE BuiltinLoader {
127
127
128
128
void CopySourceAndCodeCacheReferenceFrom (const BuiltinLoader* other);
129
129
130
- [[nodiscard]] auto GetBuiltinIds () const -> decltype(auto );
130
+ [[nodiscard]] std::ranges::keys_view<
131
+ std::ranges::ref_view<const BuiltinSourceMap>>
132
+ GetBuiltinIds () const ;
131
133
132
134
void SetEagerCompile () { should_eager_compile_ = true ; }
133
135
You can’t perform that action at this time.
0 commit comments