mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-01 10:49:26 +00:00
fix(DbExceptionHandler): use r-value reference on function
This commit is contained in:
parent
1d46c11739
commit
729a9f5cfb
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ public:
|
|||
InternalReturnType
|
||||
>::type;
|
||||
|
||||
DbExceptionHandler (DbExceptionHandlerInfo &info, Function function) : mFunction(std::move(function)) {
|
||||
DbExceptionHandler (DbExceptionHandlerInfo &info, Function &&function) : mFunction(std::move(function)) {
|
||||
const char *name = info.name;
|
||||
try {
|
||||
SmartTransaction tr(info.mainDb->getPrivate()->dbSession.getBackendSession(), name);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue