From da228432728f6ad678cb360216f826f37821e157 Mon Sep 17 00:00:00 2001 From: emeric Date: Sun, 8 Sep 2024 13:50:43 +0200 Subject: [PATCH] Fixed format --- src/libs/database/include/database/IdType.hpp | 2 +- src/libs/database/include/database/Release.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/database/include/database/IdType.hpp b/src/libs/database/include/database/IdType.hpp index a66093c1..fbfcbca0 100644 --- a/src/libs/database/include/database/IdType.hpp +++ b/src/libs/database/include/database/IdType.hpp @@ -33,7 +33,7 @@ namespace lms::db IdType() = default; IdType(ValueType id) - : _id{ id } { } + : _id{ id } {} bool isValid() const { return _id != Wt::Dbo::dbo_default_traits::invalidId(); } std::string toString() const diff --git a/src/libs/database/include/database/Release.hpp b/src/libs/database/include/database/Release.hpp index 81b4427f..45db9fbe 100644 --- a/src/libs/database/include/database/Release.hpp +++ b/src/libs/database/include/database/Release.hpp @@ -115,7 +115,7 @@ namespace lms::db { std::vector clusters; // if non empty, releases that belong to these clusters std::vector keywords; // if non empty, name must match all of these keywords (cannot be set with keywords) - std::string name; // must match this name (cannot be set with keywords) + std::string name; // must match this name (cannot be set with keywords) ReleaseSortMethod sortMethod{ ReleaseSortMethod::None }; std::optional range; Wt::WDateTime writtenAfter;