Minor comment change to string() functions
This commit is contained in:
parent
dcaad5e9da
commit
ea2b0f4a80
2 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ namespace SimpleWeb {
|
||||||
size_t size() noexcept {
|
size_t size() noexcept {
|
||||||
return streambuf.size();
|
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 {
|
std::string string() noexcept {
|
||||||
try {
|
try {
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
|
|
|
||||||
|
|
@ -157,7 +157,7 @@ namespace SimpleWeb {
|
||||||
size_t size() noexcept {
|
size_t size() noexcept {
|
||||||
return streambuf.size();
|
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 {
|
std::string string() noexcept {
|
||||||
try {
|
try {
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue