mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-26 08:17:55 +00:00
Constify
This commit is contained in:
parent
2213e1b7d6
commit
0875ee0ddb
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ namespace FasTC {
|
||||||
for(int i = 0; i < N; i++) vec[i] = other[i];
|
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++) {
|
for(int i = 0; i < N; i++) {
|
||||||
vec[i] = _vec[i];
|
vec[i] = _vec[i];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue