diff --git a/include/infra/database.h b/include/infra/database.h index 5774431b..d7cc8135 100644 --- a/include/infra/database.h +++ b/include/infra/database.h @@ -37,8 +37,8 @@ template class Transaction { public: - Transaction(Transaction&&) = default; - Transaction(const Transaction&) = delete; + Transaction(Transaction&&) = default; + Transaction(const Transaction&) = delete; Transaction& operator=(const Transaction&) = delete; Transaction(DbConnectionType& db) @@ -161,7 +161,7 @@ inline auto optional_insert_value(const std::optional& opt) } } -inline auto optional_insert_value(const std::optional& opt) +inline auto optional_insert_value(const std::optional& opt) { if (opt.has_value()) { return sqlpp::value_or_null(opt.value()); @@ -170,7 +170,7 @@ inline auto optional_insert_value(const std::optional& opt) } } -inline auto optional_insert_value(const std::optional& opt) +inline auto optional_insert_value(const std::optional& opt) { if (opt.has_value()) { return sqlpp::value_or_null(opt.value());