clang port

This commit is contained in:
Matej Sekoranja
2014-08-13 23:49:18 +02:00
parent 5d8c723227
commit 85db68a1ea
17 changed files with 199 additions and 258 deletions

View File

@@ -119,9 +119,6 @@ private:
Event m_event;
Event m_connectionEvent;
string m_channelName;
int m_count;
timeval m_startTime;
public:
@@ -164,7 +161,7 @@ public:
{
MonitorElement::shared_pointer element;
while (element = monitor->poll())
while ((element = monitor->poll()))
{
channelCount++;
if (channelCount == channels)
@@ -375,8 +372,6 @@ int main (int argc, char *argv[])
int opt; // getopt() current option
std::string testFile;
Requester::shared_pointer requester(new RequesterImpl());
setvbuf(stdout,NULL,_IOLBF,BUFSIZ); // Set stdout to line buffering
while ((opt = getopt(argc, argv, ":hr:w:i:c:s:l:f:v")) != -1) {