fix copy constructor.
authorRobin Gareus <robin@gareus.org>
Fri, 12 Feb 2016 12:56:26 +0000 (13:56 +0100)
committerRobin Gareus <robin@gareus.org>
Fri, 12 Feb 2016 13:01:40 +0000 (14:01 +0100)
libs/ardour/ardour/export_analysis.h

index f62cdf0d533ae857a54443a06b810d154afe4085..8c55edd6ab3a29db0e30dd07cb37035effc75b07 100644 (file)
@@ -54,8 +54,9 @@ namespace ARDOUR {
                        , have_loudness (other.have_loudness)
                        , have_dbtp (other.have_dbtp)
                        , n_channels (other.n_channels)
-                       , truepeakpos (other.truepeakpos)
                {
+                       truepeakpos[0] = other.truepeakpos[0];
+                       truepeakpos[1] = other.truepeakpos[1];
                        memcpy (peaks, other.peaks, sizeof(peaks));
                        memcpy (spectrum, other.spectrum, sizeof(spectrum));
                        memcpy (loudness_hist, other.loudness_hist, sizeof(loudness_hist));