mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: make util::Promise a move-only type (#17071)
This commit is contained in:
@@ -75,7 +75,7 @@ class Arguments {
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
void Return(T val) {
|
||||
void Return(const T& val) {
|
||||
info_->GetReturnValue().Set(ConvertToV8(isolate_, val));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user