summaryrefslogtreecommitdiff
path: root/libs/qm-dsp
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-04-02 15:23:24 +0200
committerRobin Gareus <robin@gareus.org>2017-04-02 15:23:24 +0200
commit0ed1a88af1ebd3445bfc8f2aba0170557e4d3e1f (patch)
treedc94d4f1035298296e307784115a0dfde1cb5e01 /libs/qm-dsp
parent77e8c0c4df82314a9958469dfffedaa19cedaab3 (diff)
avoid C++11 - fixes OSX/PPC builds
Diffstat (limited to 'libs/qm-dsp')
-rw-r--r--libs/qm-dsp/base/KaiserWindow.h2
-rw-r--r--libs/qm-dsp/base/SincWindow.h2
2 files changed, 2 insertions, 2 deletions
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 {