mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-08 06:15:31 +00:00
Constify
This commit is contained in:
parent
2213e1b7d6
commit
0875ee0ddb
|
@ -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