Skip to content

Commit d73fc7c

Browse files
fix compilation error
1 parent 97ba22d commit d73fc7c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tools/tfserver/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,12 @@ void messageOutput(QtMsgType type, const QMessageLogContext &context, const QStr
5757
}
5858

5959

60-
#if defined(Q_OS_UNIX) || !defined(TF_NO_DEBUG)
6160
void writeFailure(const char *data, size_t size)
6261
{
6362
QByteArray message(data, qsizetype(size));
6463
message.replace('\n', "");
6564
tSystemError("{}", message.constData());
6665
}
67-
#endif
6866

6967

7068
QMap<QString, QString> convertArgs(const QStringList &args)

0 commit comments

Comments
 (0)