Fix build with EXTRA_METADATA enabled / Update dirty flag#2652
Conversation
|
Sorry for eating my dog food :-/ |
| modified |= copyIfNotNull(pMergedTrackInfo->ptrLyricist(), importedTrackInfo.getLyricist()); | ||
| modified |= copyIfNotNull(pMergedTrackInfo->ptrMood(), importedTrackInfo.getMood()); | ||
| modified |= copyIfNotNull(pMergedTrackInfo->ptrMovement(), importedTrackInfo.getMovement()); | ||
| modified |= copyIfNotNull(pMergedTrackInfo->ptrMusicBrainzArtistId(), importedTrackInfo.getMusicBrainzArtistId()); |
There was a problem hiding this comment.
Unfortunately these line are exceeding the GitHub diff view. Please break them, or use the our GitHub pre-comit hook.
There was a problem hiding this comment.
I tried to keep the formatting to reduce the risk for merge conflicts. Now exactly that happened during reformatting ;) Fixed.
Oh, you are right, now I remember. We have no build flag/feature for this particular define. It is only set implicitly with -DAOIDE=ON (CMake). This might be the reason why the bugs slipped through unnoticed. |
|
Now it builds. |
|
I have added https://www.mixxx.org/wiki/doku.php/coding_guidelines#non-const_references |
@daschuer The EXTRA_METADATA feature is broken, caused by #2645.
Update: I might have found a minor bug. The dirty flag was not updated when merging re-imported metadata. I also decided to update the documentation, because I got confused by what I had written originally 🙈