• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqtwindows誰得cocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

Lightweight cross-platform joystick input library


Commit MetaInfo

Revision1ecbecb40b8c268a35dba1473cb239cda78578b5 (tree)
Zeit2021-03-24 11:36:42
AutorAlaskanEmily <emily@alas...>
CommiterAlaskanEmily

Log Message

Fix a warning with newer GCC

Ändern Zusammenfassung

Diff

--- a/unix/rejoy_unix.cpp
+++ b/unix/rejoy_unix.cpp
@@ -34,7 +34,8 @@ UnixGamepad::UnixGamepad(const char *path,
3434 ///////////////////////////////////////////////////////////////////////////////
3535
3636 UnixGamepad::UnixGamepad(const UnixGamepad& other)
37- : m_fd(dup(other.m_fd)) {
37+ : Gamepad(other)
38+ , m_fd(dup(other.m_fd)) {
3839
3940 }
4041