Mercurial > hg > vamp-plugin-sdk
diff src/vamp-hostsdk/Window.h @ 460:b409560a805b
Merge from branch vampipe
author | Chris Cannam |
---|---|
date | Mon, 10 Oct 2016 15:48:35 +0100 |
parents | 7bab0c5422f4 |
children |
line wrap: on
line diff
--- a/src/vamp-hostsdk/Window.h Thu Aug 18 12:00:24 2016 +0100 +++ b/src/vamp-hostsdk/Window.h Mon Oct 10 15:48:35 2016 +0100 @@ -76,8 +76,8 @@ void cut(T *src, T *dst) const { for (size_t i = 0; i < m_size; ++i) dst[i] = src[i] * m_cache[i]; } - template <typename T0> - void cut(T0 *src, T *dst) const { + template <typename T0, typename T1> + void cut(T0 *src, T1 *dst) const { for (size_t i = 0; i < m_size; ++i) dst[i] = src[i] * m_cache[i]; }