From 258c8165544ae559469778a4ac74aca72aa6747e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 12 Feb 2016 13:56:26 +0100 Subject: [PATCH] fix copy constructor. --- libs/ardour/ardour/export_analysis.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); -- 2.30.2