mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
build: match upstream with unsafe buffer paths (#45853)
* build: match upstream with unsafe buffer paths * Don't assume STL iterators are pointers Refs https://issues.chromium.org/issues/328308661 * chore: spanify process_singleton_win.cc
This commit is contained in:
@@ -224,7 +224,7 @@ bool FromV8WithLookup(v8::Isolate* isolate,
|
||||
if (key_transform)
|
||||
key_transform(key);
|
||||
|
||||
if (const auto* iter = table.find(key); iter != table.end()) {
|
||||
if (auto iter = table.find(key); iter != table.end()) {
|
||||
*out = iter->second;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user