1
0
Fork 0
forked from lthn/blockchain

clang-tidy adjustments

This commit is contained in:
snider 2025-10-16 18:39:25 +01:00
parent bfa73fd70f
commit 0c7c242d28
2 changed files with 3 additions and 3 deletions

View file

@ -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();
}

View file

@ -83,7 +83,7 @@ public:
};
void start();
void stop();
void stop() const;
void wait();
};