Commit 729a9f5c authored by Ronan's avatar Ronan

fix(DbExceptionHandler): use r-value reference on function

parent 1d46c117
......@@ -84,7 +84,7 @@ public:
DbExceptionHandler (DbExceptionHandlerInfo &info, Function function) : mFunction(std::move(function)) {
DbExceptionHandler (DbExceptionHandlerInfo &info, Function &&function) : mFunction(std::move(function)) {
const char *name =;
try {
SmartTransaction tr(info.mainDb->getPrivate()->dbSession.getBackendSession(), name);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment