forked from lthn/blockchain
clang-tidy adjustments
This commit is contained in:
parent
bfa73fd70f
commit
0c7c242d28
2 changed files with 3 additions and 3 deletions
|
|
@ -22,7 +22,6 @@
|
|||
|
||||
#include "oatpp/network/Server.hpp"
|
||||
#include "oatpp-swagger/Controller.hpp"
|
||||
#include <iostream>
|
||||
#include "version.h"
|
||||
#include "common/command_line.h"
|
||||
|
||||
|
|
@ -135,7 +134,8 @@ void ApiServer::start() {
|
|||
m_server_thread = std::thread(&ApiServer::run, this);
|
||||
}
|
||||
|
||||
void ApiServer::stop() {
|
||||
void ApiServer::stop() const
|
||||
{
|
||||
if (m_server) {
|
||||
m_server->stop();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ public:
|
|||
};
|
||||
|
||||
void start();
|
||||
void stop();
|
||||
void stop() const;
|
||||
void wait();
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue