From 908ef162f4cbb4908133bdc63b79f93e3e0c0c22 Mon Sep 17 00:00:00 2001 From: emeric Date: Tue, 5 Nov 2024 22:21:56 +0100 Subject: [PATCH] Fixed unset variable --- src/libs/database/include/database/Cluster.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/database/include/database/Cluster.hpp b/src/libs/database/include/database/Cluster.hpp index 15b15b1b..471e1c8e 100644 --- a/src/libs/database/include/database/Cluster.hpp +++ b/src/libs/database/include/database/Cluster.hpp @@ -48,7 +48,7 @@ namespace lms::db struct FindParameters { std::optional range; - ClusterSortMethod sortMethod; + ClusterSortMethod sortMethod{ ClusterSortMethod::None }; ClusterTypeId clusterType; // if non empty, clusters that belong to this cluster type std::string clusterTypeName; // if non empty, clusters that belong to this cluster type TrackId track; // if set, clusters involved in this track