Skip to content

Commit

Permalink
CentOS: More build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
guruz committed Feb 8, 2017
1 parent e7be4fa commit df773ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/gui/socketapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@

#define DEBUG qDebug() << "SocketApi: "

Q_DECLARE_METATYPE(OCC::SocketListener)


static inline QString removeTrailingSlash(QString path)
{
Q_ASSERT(path.endsWith(QLatin1Char('/')));
Expand Down Expand Up @@ -113,7 +110,7 @@ class SocketListener {
public:
QIODevice* socket;

SocketListener(QIODevice* socket = nullptr) : socket(socket) { }
SocketListener(QIODevice* socket = 0) : socket(socket) { }

void sendMessage(const QString& message, bool doWait = false) const
{
Expand Down Expand Up @@ -517,3 +514,5 @@ QString SocketApi::buildRegisterPathMessage(const QString& path)
}

} // namespace OCC

Q_DECLARE_METATYPE(OCC::SocketListener)
2 changes: 1 addition & 1 deletion test/syncenginetestutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ class FileInfo : public FileModifier
etag = file->etag;
return file;
}
return nullptr;
return 0;
}

FileInfo *createDir(const QString &relativePath) {
Expand Down

0 comments on commit df773ea

Please sign in to comment.