From: Changgyu Choi Date: Fri, 7 Jul 2023 00:18:49 +0000 (+0900) Subject: Fix the build error using gcc 13 X-Git-Tag: accepted/tizen/unified/20230710.013132~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=233095679a9b0da5e641d3dae4c03b6e7fc6e961;p=platform%2Fcore%2Fapi%2Fcapability-manager.git Fix the build error using gcc 13 - Remove unnecessary std::move call Change-Id: Ib578449611db3d248e0d7c7b735d7d3f1288dfe0 Signed-off-by: Changgyu Choi --- diff --git a/src/sql_connection.h b/src/sql_connection.h index 722a312..4a74b62 100644 --- a/src/sql_connection.h +++ b/src/sql_connection.h @@ -38,7 +38,7 @@ class SQLConnection { } virtual std::unique_lock GetTransactionGuard() { - return std::move(std::unique_lock(transaction_)); + return std::unique_lock(transaction_); } protected: