mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-25 23:57:49 +00:00
Add some typename specifiers
This commit is contained in:
parent
479ba8e76d
commit
e96cecc13a
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ namespace FasTC {
|
||||||
const VectorTypeTwo &v2) {
|
const VectorTypeTwo &v2) {
|
||||||
VectorTypeOne a(v1);
|
VectorTypeOne a(v1);
|
||||||
for(int i = 0; i < VectorTypeOne::Size; i++) {
|
for(int i = 0; i < VectorTypeOne::Size; i++) {
|
||||||
a(i) += static_cast<VectorTypeOne::ScalarType>(v2[i]);
|
a(i) += static_cast<typename VectorTypeOne::ScalarType>(v2[i]);
|
||||||
}
|
}
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
@ -132,7 +132,7 @@ namespace FasTC {
|
||||||
const VectorTypeTwo &v2) {
|
const VectorTypeTwo &v2) {
|
||||||
VectorTypeOne a(v1);
|
VectorTypeOne a(v1);
|
||||||
for(int i = 0; i < VectorTypeOne::Size; i++) {
|
for(int i = 0; i < VectorTypeOne::Size; i++) {
|
||||||
a(i) -= static_cast<VectorTypeOne::ScalarType>(v2[i]);
|
a(i) -= static_cast<typename VectorTypeOne::ScalarType>(v2[i]);
|
||||||
}
|
}
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue