Merge pull request #36 from zhaofengli/flush-cout
Flush cout after each output line
This commit is contained in:
commit
7e6e48a428
|
@ -404,7 +404,7 @@ int main(int argc, char * * argv)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
auto state(state_.lock());
|
auto state(state_.lock());
|
||||||
std::cout << respString << "\n";
|
std::cout << respString << "\n" << std::flush;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Add newly discovered job names to the queue. */
|
/* Add newly discovered job names to the queue. */
|
||||||
|
|
Loading…
Reference in a new issue