Skip to content

Commit

Permalink
Fix windows build issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
horacekj committed May 10, 2021
1 parent ad20e84 commit 0de5bf3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ void DaemonCoreApplication::serverClientDisconnected(QTcpSocket* socket) {
modules[i]->clientDisconnected(socket);
}

this->clientResetOutputs(socket);
this->clientResetOutputs(socket, [](){}, [](){});
}

void DaemonCoreApplication::clientResetOutputs(
Expand Down
4 changes: 2 additions & 2 deletions src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class DaemonCoreApplication : public QCoreApplication {
void mtbUsbConnect();

void clientResetOutputs(QTcpSocket*,
std::function<void()> onOk = [](){},
std::function<void()> onError = [](){});
std::function<void()> onOk,
std::function<void()> onError);

private slots:
void mtbUsbOnLog(QString message, Mtb::LogLevel loglevel);
Expand Down

0 comments on commit 0de5bf3

Please sign in to comment.