diff options
author | Ed Tanous <edtanous@google.com> | 2023-06-05 21:42:43 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2023-06-06 19:07:52 +0300 |
commit | 21b4aba40554549204a02d71a998379dc2ea44f4 (patch) | |
tree | f4524894c77c7a3493a2e00e60968e6354d43854 /http | |
parent | 052bcbf48802da1fa9583c8c0990378304e29903 (diff) | |
download | bmcweb-21b4aba40554549204a02d71a998379dc2ea44f4.tar.xz |
Remove this->
this-> is redundant when operating within a class member scope. We
should aim to be consistent.
This change was done automatically with sed replace
Tested: Code compiles
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: If791e83e0bd5f84031e65156b7ea082ded8e158c
Diffstat (limited to 'http')
-rw-r--r-- | http/app.hpp | 2 | ||||
-rw-r--r-- | http/http_server.hpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/http/app.hpp b/http/app.hpp index d3cf48c1b1..b983beca3b 100644 --- a/http/app.hpp +++ b/http/app.hpp @@ -49,7 +49,7 @@ class App {} ~App() { - this->stop(); + stop(); } App(const App&) = delete; diff --git a/http/http_server.hpp b/http/http_server.hpp index afa4514c1f..258193aee3 100644 --- a/http/http_server.hpp +++ b/http/http_server.hpp @@ -86,7 +86,7 @@ class Server lastDateUpdate = std::chrono::steady_clock::now(); updateDateStr(); } - return this->dateStr; + return dateStr; }; BMCWEB_LOG_INFO << "bmcweb server is running, local endpoint " @@ -146,7 +146,7 @@ class Server << "Error while canceling async operations:" << ec2.message(); } - this->startAsyncWaitForSignal(); + startAsyncWaitForSignal(); } else { @@ -184,7 +184,7 @@ class Server [this, connection](const boost::system::error_code& ec) { if (!ec) { - boost::asio::post(*this->ioService, + boost::asio::post(*ioService, [connection] { connection->start(); }); } doAccept(); |