From 37969cb5a1892a05abc84f087213c9903c2c654e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 12 Feb 2016 17:33:51 +0300 Subject: Fix code style. --- src/vector.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vector.h') diff --git a/src/vector.h b/src/vector.h index 9f3ca47c0..d24e91e9b 100644 --- a/src/vector.h +++ b/src/vector.h @@ -72,11 +72,12 @@ class Vector final return x == 0.0F && y == 0.0F && z == 0.0F; } - void operator=(const Vector &v) + Vector &operator=(const Vector &v) { x = v.x; y = v.y; z = v.z; + return *this; } /** -- cgit v1.2.3-60-g2f50