From 0ed1a88af1ebd3445bfc8f2aba0170557e4d3e1f Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 2 Apr 2017 15:23:24 +0200 Subject: avoid C++11 - fixes OSX/PPC builds --- libs/qm-dsp/base/KaiserWindow.h | 2 +- libs/qm-dsp/base/SincWindow.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/qm-dsp') diff --git a/libs/qm-dsp/base/KaiserWindow.h b/libs/qm-dsp/base/KaiserWindow.h index f16a4b6c16..0253d6d4c4 100644 --- a/libs/qm-dsp/base/KaiserWindow.h +++ b/libs/qm-dsp/base/KaiserWindow.h @@ -81,7 +81,7 @@ public: } const double *getWindow() const { - return m_window.data(); + return &m_window[0]; } void cut(double *src) const { diff --git a/libs/qm-dsp/base/SincWindow.h b/libs/qm-dsp/base/SincWindow.h index bb35d90c20..02de928679 100644 --- a/libs/qm-dsp/base/SincWindow.h +++ b/libs/qm-dsp/base/SincWindow.h @@ -37,7 +37,7 @@ public: } const double *getWindow() const { - return m_window.data(); + return &m_window[0]; } void cut(double *src) const { -- cgit v1.2.3