summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/export_analysis.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-02-12 13:56:26 +0100
committerRobin Gareus <robin@gareus.org>2016-02-12 14:01:40 +0100
commit258c8165544ae559469778a4ac74aca72aa6747e (patch)
tree1fc3add6e27897233c8f1e50189be5f9ff9e6a28 /libs/ardour/ardour/export_analysis.h
parent1d1eae4017d27f66ef3eb0bd12dd699c3a5405dd (diff)
fix copy constructor.
Diffstat (limited to 'libs/ardour/ardour/export_analysis.h')
-rw-r--r--libs/ardour/ardour/export_analysis.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/ardour/export_analysis.h b/libs/ardour/ardour/export_analysis.h
index f62cdf0d53..8c55edd6ab 100644
--- a/libs/ardour/ardour/export_analysis.h
+++ b/libs/ardour/ardour/export_analysis.h
@@ -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));