Skip to content

Commit e171259

Browse files
committed
src: fixup return of getEngineByName
1 parent 72979d4 commit e171259

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deps/ncrypto/engine.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ EnginePointer EnginePointer::getEngineByName(const std::string_view name,
5858
}
5959
}
6060
}
61-
return engine;
61+
return std::move(engine);
6262
}
6363

6464
bool EnginePointer::setAsDefault(uint32_t flags, CryptoErrorList* errors) {

0 commit comments

Comments
 (0)