Fixed bad cluster scan on track update

This commit is contained in:
emeric
2018-09-26 22:44:52 +02:00
parent ed7b461c81
commit 995be9470d
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -95,6 +95,7 @@ class Track : public Wt::Dbo::Dbo<Track>
void setCopyrightURL(const std::string& copyrightURL) { _copyrightURL = std::string(copyrightURL, 0, _maxCopyrightURLLength); }
void setArtist(Wt::Dbo::ptr<Artist> artist) { _artist = artist; }
void setRelease(Wt::Dbo::ptr<Release> release) { _release = release; }
void eraseClusters() { _clusters.clear(); }
std::size_t getScanVersion() const { return _scanVersion; }
boost::optional<std::size_t> getTrackNumber() const;