From ea2b0f4a80b786403e80c034c731238653826fea Mon Sep 17 00:00:00 2001 From: eidheim Date: Tue, 1 Aug 2017 07:58:19 +0200 Subject: [PATCH] Minor comment change to string() functions --- client_http.hpp | 2 +- server_http.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client_http.hpp b/client_http.hpp index 4466043..559bbc9 100644 --- a/client_http.hpp +++ b/client_http.hpp @@ -43,7 +43,7 @@ namespace SimpleWeb { size_t size() noexcept { return streambuf.size(); } - /// Convenience function to return std::string. Note that the stream buffer is emptied when this functions is used. + /// Convenience function to return std::string. The stream buffer is consumed. std::string string() noexcept { try { std::stringstream ss; diff --git a/server_http.hpp b/server_http.hpp index 7c19d80..28e0b3b 100644 --- a/server_http.hpp +++ b/server_http.hpp @@ -157,7 +157,7 @@ namespace SimpleWeb { size_t size() noexcept { return streambuf.size(); } - /// Convenience function to return std::string. Note that the stream buffer is emptied when this functions is used. + /// Convenience function to return std::string. The stream buffer is consumed. std::string string() noexcept { try { std::stringstream ss;