Fix compilation

Former-commit-id: d5ac6bb73615f7c9b068c1de2037dfeddc5c1b45
This commit is contained in:
Lynix
2016-03-02 16:53:20 +01:00
parent ad55ff159b
commit 192fccc634
6 changed files with 6 additions and 6 deletions

View File

@@ -989,7 +989,7 @@ std::ostream& operator<<(std::ostream& out, const Nz::Vector2<T>& vec)
*/
template<typename T>
Nz::Vector2<T> operator*(T scale, const Nz::Vector2& vec)
Nz::Vector2<T> operator*(T scale, const Nz::Vector2<T>& vec)
{
return Nz::Vector2<T>(scale * vec.x, scale * vec.y);
}