Refactored namespaces

This commit is contained in:
emeric
2024-03-12 08:32:08 +01:00
parent 487960b413
commit 4b7c4295ec
501 changed files with 12605 additions and 12631 deletions
@@ -27,9 +27,9 @@
#include "database/Track.hpp"
#include "database/TrackList.hpp"
namespace Recommendation {
namespace lms::recommendation {
using namespace Database;
using namespace db;
std::unique_ptr<IEngine> createClustersEngine(Db& db)
{
@@ -92,7 +92,7 @@ namespace Recommendation {
return res;
}
ArtistContainer ClusterEngine::getSimilarArtists(ArtistId artistId, EnumSet<TrackArtistLinkType> artistLinkTypes, std::size_t maxCount) const
ArtistContainer ClusterEngine::getSimilarArtists(ArtistId artistId, core::EnumSet<TrackArtistLinkType> artistLinkTypes, std::size_t maxCount) const
{
if (maxCount == 0)
return {};
@@ -108,4 +108,4 @@ namespace Recommendation {
return std::move(similarArtistIds.results);
}
} // namespace Recommendation
} // namespace lms::recommendation