2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-01 14:35:29 +00:00

[#1732] More formatting nits.

This commit is contained in:
Thomas Markwalder
2021-04-08 08:52:34 -04:00
parent afdbbb3f0d
commit aa91e4250d
3 changed files with 9 additions and 4 deletions

View File

@@ -272,12 +272,12 @@ public:
/// @brief Fetches the maximum size of the thread pool. /// @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; uint16_t getThreadPoolSize() const;
/// @brief Fetches the number of threads in the pool. /// @brief Fetches the number of threads in the pool.
/// ///
/// @return number of running threads. /// @return the number of running threads.
uint16_t getThreadCount() const; uint16_t getThreadCount() const;
private: private:

View File

@@ -466,7 +466,7 @@ public:
std::string main_thread_id = ss.str(); std::string main_thread_id = ss.str();
// Iterate over the client request/response pairs. // Iterate over the client request/response pairs.
for (auto const& clientRR : clientRRs_ ) { for (auto const& clientRR : clientRRs_) {
// Make sure it's whole. // Make sure it's whole.
ASSERT_FALSE(clientRR->thread_id_.empty()); ASSERT_FALSE(clientRR->thread_id_.empty());
ASSERT_TRUE(clientRR->request_); ASSERT_TRUE(clientRR->request_);

View File

@@ -77,13 +77,18 @@ public:
/// @brief Returns path. /// @brief Returns path.
/// ///
/// #return URL path
/// @throw InvalidOperation if URL is invalid. /// @throw InvalidOperation if URL is invalid.
std::string getPath() const; std::string getPath() const;
/// @brief Returns textual representation of the URL. /// @brief Returns textual representation of the URL.
///
/// @return Text version of the URL.
std::string toText() const; 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 { const std::string& rawUrl() const {
return (url_); return (url_);
} }