commit ec753ef94dc5894c180939e207f170e5e09cd539
parent d460c9a9189e72693a02eacea4b7343648000682
Author: d.levin256@gmail.com <d.levin256@gmail.com>
Date: Thu, 3 Nov 2016 07:28:39 +0300
Make read/write functions static
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/kfr/base/read_write.hpp b/include/kfr/base/read_write.hpp
@@ -33,13 +33,13 @@ namespace kfr
{
template <size_t N, bool A = false, typename T>
-CMT_INLINE vec<T, N> read(const T* src)
+CMT_INLINE static vec<T, N> read(const T* src)
{
return vec<T, N>(src, cbool_t<A>());
}
template <bool A = false, size_t N, typename T>
-CMT_INLINE void write(T* dest, const vec<T, N>& value)
+CMT_INLINE static void write(T* dest, const vec<T, N>& value)
{
value.write(dest, cbool_t<A>());
}