diff options
author | Thomas Markwalder <tmark@isc.org> | 2021-04-08 14:52:34 +0200 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2021-04-08 14:59:48 +0200 |
commit | aa91e4250d78613531aaba8ce7f4e7eb1d56b04f (patch) | |
tree | e34f248161db7ade575267618da5396548b716f9 /src | |
parent | [#1732] Addressed more review comments. (diff) | |
download | kea-aa91e4250d78613531aaba8ce7f4e7eb1d56b04f.tar.xz kea-aa91e4250d78613531aaba8ce7f4e7eb1d56b04f.zip |
[#1732] More formatting nits.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/http/client.h | 4 | ||||
-rw-r--r-- | src/lib/http/tests/mt_client_unittests.cc | 2 | ||||
-rw-r--r-- | src/lib/http/url.h | 7 |
3 files changed, 9 insertions, 4 deletions
diff --git a/src/lib/http/client.h b/src/lib/http/client.h index 900bc53ba5..4fd3c319e9 100644 --- a/src/lib/http/client.h +++ b/src/lib/http/client.h @@ -272,12 +272,12 @@ public: /// @brief Fetches the maximum size of the thread pool. /// - /// @return maximum size of the thread pool. + /// @return the maximum size of the thread pool. uint16_t getThreadPoolSize() const; /// @brief Fetches the number of threads in the pool. /// - /// @return number of running threads. + /// @return the number of running threads. uint16_t getThreadCount() const; private: diff --git a/src/lib/http/tests/mt_client_unittests.cc b/src/lib/http/tests/mt_client_unittests.cc index ed2e0cc530..cab50bd764 100644 --- a/src/lib/http/tests/mt_client_unittests.cc +++ b/src/lib/http/tests/mt_client_unittests.cc @@ -466,7 +466,7 @@ public: std::string main_thread_id = ss.str(); // Iterate over the client request/response pairs. - for (auto const& clientRR : clientRRs_ ) { + for (auto const& clientRR : clientRRs_) { // Make sure it's whole. ASSERT_FALSE(clientRR->thread_id_.empty()); ASSERT_TRUE(clientRR->request_); diff --git a/src/lib/http/url.h b/src/lib/http/url.h index 0b82cf338c..be48a7cad7 100644 --- a/src/lib/http/url.h +++ b/src/lib/http/url.h @@ -77,13 +77,18 @@ public: /// @brief Returns path. /// + /// #return URL path /// @throw InvalidOperation if URL is invalid. std::string getPath() const; /// @brief Returns textual representation of the URL. + /// + /// @return Text version of the URL. std::string toText() const; - /// @brief Returns the raw, unparsed url string. + /// @brief Returns the raw, unparsed URL string. + /// + /// @return Unparsed URL string. const std::string& rawUrl() const { return (url_); } |