diff --git a/src/CSFML/CallbackStream.hpp b/src/CSFML/CallbackStream.hpp index f46ab04..c1e8b37 100644 --- a/src/CSFML/CallbackStream.hpp +++ b/src/CSFML/CallbackStream.hpp @@ -117,7 +117,7 @@ public: //////////////////////////////////////////////////////////// /// \brief Return the size of the stream /// - /// \return The total number of bytes available in the stream, or -1 on error + /// \return The total number of bytes available in the stream, or `std::nullopt` on error /// //////////////////////////////////////////////////////////// std::optional getSize() override