From b2ba2307b3e600ccb7eabd7d49448d39d6eb554c Mon Sep 17 00:00:00 2001 From: Marco Antognini Date: Tue, 7 Oct 2014 12:00:17 +0200 Subject: [PATCH] Fixed documentation warnings - WindowImpl.hpp:94:16: warning: parameter 'threshold:' not found in the function declaration - SFContext.hpp:120:16: warning: parameter 'enabled:' not found in the function declaration --- src/SFML/Window/OSX/SFContext.hpp | 2 +- src/SFML/Window/WindowImpl.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SFML/Window/OSX/SFContext.hpp b/src/SFML/Window/OSX/SFContext.hpp index 797984fc..67bae164 100644 --- a/src/SFML/Window/OSX/SFContext.hpp +++ b/src/SFML/Window/OSX/SFContext.hpp @@ -117,7 +117,7 @@ public: /// This can avoid some visual artifacts, and limit the framerate /// to a good value (but not constant across different computers). /// - /// \param enabled: True to enable v-sync, false to deactivate + /// \param enabled True to enable v-sync, false to deactivate /// //////////////////////////////////////////////////////////// virtual void setVerticalSyncEnabled(bool enabled); diff --git a/src/SFML/Window/WindowImpl.hpp b/src/SFML/Window/WindowImpl.hpp index b4d715ed..604702d4 100644 --- a/src/SFML/Window/WindowImpl.hpp +++ b/src/SFML/Window/WindowImpl.hpp @@ -91,7 +91,7 @@ public: /// \brief Change the joystick threshold, ie. the value below which /// no move event will be generated /// - /// \param threshold: New threshold, in range [0, 100] + /// \param threshold New threshold, in range [0, 100] /// //////////////////////////////////////////////////////////// void setJoystickThreshold(float threshold); @@ -227,7 +227,7 @@ private: /// //////////////////////////////////////////////////////////// void processJoystickEvents(); - + //////////////////////////////////////////////////////////// /// \brief Read the sensors state and generate the appropriate events ///