From 6a3e44bc4d93804a5e2fa6e58dc0130f466e8665 Mon Sep 17 00:00:00 2001 From: abd-ennour <38217745+abd-ennour@users.noreply.github.com> Date: Fri, 2 Jun 2023 00:18:04 +0200 Subject: [PATCH] Added missing doxygen tag \return in a function "[[nodiscard]] bool open(sf::InputStream& stream, Info& info) override;" and missing comments "// namespace " in Window/WindowBase.cpp and ALCheck.cpp. --- src/SFML/Audio/ALCheck.cpp | 2 +- src/SFML/Audio/SoundFileReaderWav.hpp | 2 ++ src/SFML/Window/WindowBase.cpp | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/SFML/Audio/ALCheck.cpp b/src/SFML/Audio/ALCheck.cpp index 30790f95..6cb4aeb3 100644 --- a/src/SFML/Audio/ALCheck.cpp +++ b/src/SFML/Audio/ALCheck.cpp @@ -43,7 +43,7 @@ namespace namespace AlCheckImpl { thread_local ALenum lastError(AL_NO_ERROR); -} +} // namespace AlCheckImpl } // namespace namespace sf::priv diff --git a/src/SFML/Audio/SoundFileReaderWav.hpp b/src/SFML/Audio/SoundFileReaderWav.hpp index 8c0233ec..38d0e607 100644 --- a/src/SFML/Audio/SoundFileReaderWav.hpp +++ b/src/SFML/Audio/SoundFileReaderWav.hpp @@ -61,6 +61,8 @@ public: /// \param stream Stream to open /// \param info Structure to fill with the attributes of the loaded sound /// + /// \return True if the file was successfully opened + /// //////////////////////////////////////////////////////////// [[nodiscard]] bool open(sf::InputStream& stream, Info& info) override; diff --git a/src/SFML/Window/WindowBase.cpp b/src/SFML/Window/WindowBase.cpp index 81b26687..7892017f 100644 --- a/src/SFML/Window/WindowBase.cpp +++ b/src/SFML/Window/WindowBase.cpp @@ -44,7 +44,7 @@ namespace namespace WindowsBaseImpl { const sf::WindowBase* fullscreenWindow = nullptr; -} +} // namespace WindowsBaseImpl } // namespace