Added missing doxygen tag \return in a function "[[nodiscard]] bool open(sf::InputStream& stream, Info& info) override;" and missing comments "// namespace <namespace>" in Window/WindowBase.cpp and ALCheck.cpp.

This commit is contained in:
abd-ennour 2023-06-02 00:18:04 +02:00 committed by Lukas Dürrenberger
parent da8614cb2f
commit 6a3e44bc4d
3 changed files with 4 additions and 2 deletions

View File

@ -43,7 +43,7 @@ namespace
namespace AlCheckImpl namespace AlCheckImpl
{ {
thread_local ALenum lastError(AL_NO_ERROR); thread_local ALenum lastError(AL_NO_ERROR);
} } // namespace AlCheckImpl
} // namespace } // namespace
namespace sf::priv namespace sf::priv

View File

@ -61,6 +61,8 @@ public:
/// \param stream Stream to open /// \param stream Stream to open
/// \param info Structure to fill with the attributes of the loaded sound /// \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; [[nodiscard]] bool open(sf::InputStream& stream, Info& info) override;

View File

@ -44,7 +44,7 @@ namespace
namespace WindowsBaseImpl namespace WindowsBaseImpl
{ {
const sf::WindowBase* fullscreenWindow = nullptr; const sf::WindowBase* fullscreenWindow = nullptr;
} } // namespace WindowsBaseImpl
} // namespace } // namespace