mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-22 09:53:48 +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) {
|
||||
VectorTypeOne a(v1);
|
||||
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;
|
||||
}
|
||||
|
@ -132,7 +132,7 @@ namespace FasTC {
|
|||
const VectorTypeTwo &v2) {
|
||||
VectorTypeOne a(v1);
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue