diff dsp/signalconditioning/Filter.h @ 441:3994516c1199

Merge from branch msvc
author Chris Cannam <c.cannam@qmul.ac.uk>
date Thu, 08 Feb 2018 15:41:27 +0000
parents 7461bf03194e
children 701233f8ed41
line wrap: on
line diff
--- a/dsp/signalconditioning/Filter.h	Tue Mar 14 13:40:50 2017 +0000
+++ b/dsp/signalconditioning/Filter.h	Thu Feb 08 15:41:27 2018 +0000
@@ -15,6 +15,8 @@
 #ifndef FILTER_H
 #define FILTER_H
 
+#include "base/Restrict.h"
+
 #include <vector>
 
 class Filter
@@ -42,8 +44,8 @@
      * write the resulting \arg n samples into \arg out. There must be
      * enough room in \arg out for \arg n samples to be written.
      */
-    void process(const double *const __restrict__ in,
-                 double *const __restrict__ out,
+    void process(const double *const QM_R__ in,
+                 double *const QM_R__ out,
                  const int n);
 
     int getOrder() const { return m_order; }