Skip to content
Snippets Groups Projects
Commit d047ada4 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Second attempt at fix

parent 4d64380c
No related branches found
No related tags found
No related merge requests found
Pipeline #11208 passed
...@@ -536,7 +536,7 @@ namespace loguru ...@@ -536,7 +536,7 @@ namespace loguru
class LOGURU_EXPORT LogScopeRAII class LOGURU_EXPORT LogScopeRAII
{ {
public: public:
LogScopeRAII() : _file(nullptr), _line(0), _indent_stderr(false), _start_time_ns(0), _name({0}) {} // No logging LogScopeRAII() : _file(nullptr), _line(0), _indent_stderr(false), _start_time_ns(0), _name() {} // No logging
LogScopeRAII(Verbosity verbosity, const char* file, unsigned line, LOGURU_FORMAT_STRING_TYPE format, ...) LOGURU_PRINTF_LIKE(5, 6); LogScopeRAII(Verbosity verbosity, const char* file, unsigned line, LOGURU_FORMAT_STRING_TYPE format, ...) LOGURU_PRINTF_LIKE(5, 6);
~LogScopeRAII(); ~LogScopeRAII();
......
...@@ -258,7 +258,8 @@ void Universe::_run() { ...@@ -258,7 +258,8 @@ void Universe::_run() {
if (selres < 0) { if (selres < 0) {
switch (errno) { switch (errno) {
case 9 : continue; // Bad file descriptor = socket closed case 9 : continue; // Bad file descriptor = socket closed
default : std::cout << "Unknown select error: " << strerror(errno) << std::endl; case 4 : continue; // Interrupted system call ... no problem
default : LOG(WARNING) << "Unhandled select error: " << strerror(errno) << "(" << errno << ")";
} }
continue; continue;
} else if (selres == 0) { } else if (selres == 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment