chore: make util::Promise a move-only type (#17071)

This commit is contained in:
Cheng Zhao
2019-02-21 12:32:44 +00:00
committed by GitHub
parent a40d826b11
commit 32a4de4a68
29 changed files with 325 additions and 260 deletions

View File

@@ -75,7 +75,7 @@ class Arguments {
}
template<typename T>
void Return(T val) {
void Return(const T& val) {
info_->GetReturnValue().Set(ConvertToV8(isolate_, val));
}