summaryrefslogtreecommitdiff
path: root/src/vector.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-12 17:33:51 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-12 17:33:51 +0300
commit37969cb5a1892a05abc84f087213c9903c2c654e (patch)
tree52835ded960d26e227a5ec3f7690c092a6b8a2d5 /src/vector.h
parentc98d192af4daa48a4c27cfa3225e22e89f329525 (diff)
downloadplus-37969cb5a1892a05abc84f087213c9903c2c654e.tar.gz
plus-37969cb5a1892a05abc84f087213c9903c2c654e.tar.bz2
plus-37969cb5a1892a05abc84f087213c9903c2c654e.tar.xz
plus-37969cb5a1892a05abc84f087213c9903c2c654e.zip
Fix code style.
Diffstat (limited to 'src/vector.h')
-rw-r--r--src/vector.h3
1 files changed, 2 insertions, 1 deletions
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;
}
/**