Refactor SongCollection m_filtered and m_songs in songs.cc and add a copy SongCollection in requesthandler.cc · Issue #905 · performous/performous · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This suggestion is about how the current m_songs and m_filtered SongCollections are implemented in song.cc.
Remove either m_filtered or m_songs, so having only a single SongCollection in songs.cc.
Add a duplicate SongCollection to requesthandler.cc to separate the sorting/filtering in the web server from the filtering in songs.cc.
This removes the confusion around the two SongCollections in songs.cc.
This would be the clean (refactored) implementation of PR #901 .
Use case
No response
Extra info/examples/attachments
No response
The text was updated successfully, but these errors were encountered:
Suggestion
This suggestion is about how the current m_songs and m_filtered SongCollections are implemented in song.cc.
Remove either m_filtered or m_songs, so having only a single SongCollection in songs.cc.
Add a duplicate SongCollection to requesthandler.cc to separate the sorting/filtering in the web server from the filtering in songs.cc.
This removes the confusion around the two SongCollections in songs.cc.
This would be the clean (refactored) implementation of PR #901 .
Use case
No response
Extra info/examples/attachments
No response
The text was updated successfully, but these errors were encountered: