diff --git a/http_examples.cpp b/http_examples.cpp index 8ad98a5..8b0bb06 100644 --- a/http_examples.cpp +++ b/http_examples.cpp @@ -181,7 +181,7 @@ int main() { header.emplace("Content-Length", to_string(length)); response->write(header); - // Trick to define a recursive function within this scope (for your convenience) + // Trick to define a recursive function within this scope (for example purposes) class FileServer { public: static void read_and_send(const shared_ptr &response, const shared_ptr &ifs) { diff --git a/https_examples.cpp b/https_examples.cpp index 6cf08d0..f5d6ba6 100644 --- a/https_examples.cpp +++ b/https_examples.cpp @@ -179,7 +179,7 @@ int main() { header.emplace("Content-Length", to_string(length)); response->write(header); - // Trick to define a recursive function within this scope (for your convenience) + // Trick to define a recursive function within this scope (for example purposes) class FileServer { public: static void read_and_send(const shared_ptr &response, const shared_ptr &ifs) { diff --git a/utility.hpp b/utility.hpp index 280ae82..7531bfb 100644 --- a/utility.hpp +++ b/utility.hpp @@ -285,7 +285,7 @@ namespace SimpleWeb { return std::unique_ptr(new SharedLock(count)); } - //// Blocks until all shared locks are released, then prevents future shared locks + /// Blocks until all shared locks are released, then prevents future shared locks void stop() noexcept { long expected = 0; while(!count.compare_exchange_weak(expected, -1)) {