From 0875ee0ddbfaf306961e08dcf3ebf66a6c146669 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Sun, 16 Feb 2014 18:29:08 -0500 Subject: [PATCH] Constify --- Base/include/VectorBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Base/include/VectorBase.h b/Base/include/VectorBase.h index 50f9ef1..e682377 100644 --- a/Base/include/VectorBase.h +++ b/Base/include/VectorBase.h @@ -46,7 +46,7 @@ namespace FasTC { for(int i = 0; i < N; i++) vec[i] = other[i]; } - explicit VectorBase(T *_vec) { + explicit VectorBase(const T *_vec) { for(int i = 0; i < N; i++) { vec[i] = _vec[i]; }