mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-30 20:54:15 +01: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];
|
||||
}
|
||||
|
||||
explicit VectorBase(T *_vec) {
|
||||
explicit VectorBase(const T *_vec) {
|
||||
for(int i = 0; i < N; i++) {
|
||||
vec[i] = _vec[i];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user