From d71e380a91e67c7ebd9731b6723b1d5d7c9c0050 Mon Sep 17 00:00:00 2001 From: Roland Winklmeier Date: Thu, 30 Oct 2014 14:25:52 +0100 Subject: [PATCH] refs #341 Fix operator= return types --- src/blackinput/linux/joystick_linux.h | 2 +- src/blackinput/linux/keyboard_linux.h | 2 +- src/blackinput/osx/joystick_mac.h | 2 +- src/blackinput/osx/keyboard_mac.h | 2 +- src/blackinput/win/joystick_windows.h | 2 +- src/blackinput/win/keyboard_windows.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/blackinput/linux/joystick_linux.h b/src/blackinput/linux/joystick_linux.h index 358b4298f..a2e388416 100644 --- a/src/blackinput/linux/joystick_linux.h +++ b/src/blackinput/linux/joystick_linux.h @@ -30,7 +30,7 @@ namespace BlackInput CJoystickLinux(CJoystickLinux const &) = delete; //! Assignment operator - void operator=(CJoystickLinux const &) = delete; + CJoystickLinux &operator=(CJoystickLinux const &) = delete; //! \brief Destructor virtual ~CJoystickLinux(); diff --git a/src/blackinput/linux/keyboard_linux.h b/src/blackinput/linux/keyboard_linux.h index bc5bc3b6b..cb33a2a62 100644 --- a/src/blackinput/linux/keyboard_linux.h +++ b/src/blackinput/linux/keyboard_linux.h @@ -31,7 +31,7 @@ namespace BlackInput CKeyboardLinux(CKeyboardLinux const&) = delete; //! \brief Assignment operator - void operator=(CKeyboardLinux const&) = delete; + CKeyboardLinux &operator=(CKeyboardLinux const&) = delete; //! \brief Destructor virtual ~CKeyboardLinux(); diff --git a/src/blackinput/osx/joystick_mac.h b/src/blackinput/osx/joystick_mac.h index 30b02f59a..29e4afb44 100644 --- a/src/blackinput/osx/joystick_mac.h +++ b/src/blackinput/osx/joystick_mac.h @@ -30,7 +30,7 @@ namespace BlackInput CJoystickMac(CJoystickMac const &) = delete; //! Assignment operator - void operator=(CJoystickMac const &) = delete; + CJoystickMac &operator=(CJoystickMac const &) = delete; //! \brief Destructor virtual ~CJoystickMac(); diff --git a/src/blackinput/osx/keyboard_mac.h b/src/blackinput/osx/keyboard_mac.h index f77a244be..3cff04d7f 100644 --- a/src/blackinput/osx/keyboard_mac.h +++ b/src/blackinput/osx/keyboard_mac.h @@ -28,7 +28,7 @@ namespace BlackInput CKeyboardMac(CKeyboardMac const&) = delete; //! \brief Assignment operator - void operator=(CKeyboardMac const&) = delete; + CKeyboardMac &operator=(CKeyboardMac const&) = delete; //! \brief Destructor virtual ~CKeyboardMac(); diff --git a/src/blackinput/win/joystick_windows.h b/src/blackinput/win/joystick_windows.h index fbe59fc77..a0081ded2 100644 --- a/src/blackinput/win/joystick_windows.h +++ b/src/blackinput/win/joystick_windows.h @@ -56,7 +56,7 @@ namespace BlackInput CJoystickWindows(CJoystickWindows const &) = delete; //! Assignment operator - void operator=(CJoystickWindows const &) = delete; + CJoystickWindows &operator=(CJoystickWindows const &) = delete; //! \brief Destructor virtual ~CJoystickWindows(); diff --git a/src/blackinput/win/keyboard_windows.h b/src/blackinput/win/keyboard_windows.h index 7140686d1..77cf6451b 100644 --- a/src/blackinput/win/keyboard_windows.h +++ b/src/blackinput/win/keyboard_windows.h @@ -32,7 +32,7 @@ namespace BlackInput CKeyboardWindows(CKeyboardWindows const&) = delete; //! \brief Assignment operator - void operator=(CKeyboardWindows const&) = delete; + CKeyboardWindows &operator=(CKeyboardWindows const&) = delete; //! \brief Destructor virtual ~CKeyboardWindows();