Lightweight cross-platform joystick input library
Revisão | 1ecbecb40b8c268a35dba1473cb239cda78578b5 (tree) |
---|---|
Hora | 2021-03-24 11:36:42 |
Autor | AlaskanEmily <emily@alas...> |
Commiter | AlaskanEmily |
Fix a warning with newer GCC
@@ -34,7 +34,8 @@ UnixGamepad::UnixGamepad(const char *path, | ||
34 | 34 | /////////////////////////////////////////////////////////////////////////////// |
35 | 35 | |
36 | 36 | UnixGamepad::UnixGamepad(const UnixGamepad& other) |
37 | - : m_fd(dup(other.m_fd)) { | |
37 | + : Gamepad(other) | |
38 | + , m_fd(dup(other.m_fd)) { | |
38 | 39 | |
39 | 40 | } |
40 | 41 |