Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions include/modbuspp/data.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <type_traits>
#include <limits>
#include <string>
#include <stdexcept>

#include <modbuspp/global.h>
#include <modbuspp/swap.h>
Expand Down
2 changes: 1 addition & 1 deletion src/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ namespace Modbus {

// ---------------------------------------------------------------------------
// static
void * Server::Private::loop (std::future<void> run, Private * d) {
void Server::Private::loop (std::future<void> run, Private * d) {
int rc;

while (run.wait_for (std::chrono::milliseconds (100)) == std::future_status::timeout) {
Expand Down
2 changes: 1 addition & 1 deletion src/server_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace Modbus {

BufferedSlave * addSlave (int slaveAddr, Device * master);

static void * loop (std::future<void> run, Private * d);
static void loop (std::future<void> run, Private * d);
static int receive (Private * d);

int sock;
Expand Down