From e206dc1cf625f28149c19eb4dfcbf495ef0efbb4 Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 18 Feb 2022 19:31:03 +0100 Subject: refactor: improve options of all kinds --- src/engine/vector2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/vector2.cpp') diff --git a/src/engine/vector2.cpp b/src/engine/vector2.cpp index 2d2283b..8a5a3c1 100644 --- a/src/engine/vector2.cpp +++ b/src/engine/vector2.cpp @@ -2,7 +2,7 @@ #include -Vector2::Vector2(Vector2Opts opts) : _x(opts.x), _y(opts.y) {} +Vector2::Vector2(const Vector2Options &options) : _x(options.x), _y(options.y) {} unsigned int Vector2::x() const { -- cgit v1.2.3-18-g5258