1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01:00

fixing strict-aliasing rule violations by passing enum types as int references

This commit is contained in:
andheh
2018-03-06 10:04:39 +01:00
committed by James Crook
parent 7a30222f49
commit 87eaaa6f45
7 changed files with 18 additions and 13 deletions

View File

@@ -527,7 +527,9 @@ private:
// and will be taken out of the WaveTrack class:
//
enum WaveTrackDisplay {
typedef int WaveTrackDisplay;
enum WaveTrackDisplayValues : int {
// DO NOT REORDER OLD VALUES! Replace obsoletes with placeholders.