mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 08:35:37 +01:00
Add some typename specifiers
This commit is contained in:
parent
479ba8e76d
commit
e96cecc13a
@ -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 New Issue
Block a user