Fixed clang warnings

This commit is contained in:
emeric
2024-03-14 00:16:18 +01:00
parent 4c4bef266a
commit a37b7a42da
2 changed files with 1 additions and 2 deletions
@@ -43,7 +43,6 @@ namespace lms::api::subsonic
{
using namespace db;
static const std::string_view reportedDummyDate{ "2000-01-01T00:00:00" };
static const unsigned long long reportedDummyDateULong{ 946684800000ULL }; // 2000-01-01T00:00:00 UTC
namespace
+1 -1
View File
@@ -189,7 +189,7 @@ namespace lms::ui
setFormWidget(MediaLibraryModel::DirectoryField, std::make_unique<Wt::WLineEdit>());
Wt::WPushButton* saveBtn{ bindNew<Wt::WPushButton>("save-btn", Wt::WString::tr(mediaLibraryId.isValid() ? "Lms.save" : "Lms.create")) };
saveBtn->clicked().connect(this, [this, mediaLibraryId, model]
saveBtn->clicked().connect(this, [this, model]
{
updateModel(model.get());