Commit 29c0f686 authored by Mathieu STEFANI's avatar Mathieu STEFANI

Fixed compilation issue and ICE for gcc 4.7

parent 3e6addba
......@@ -12,6 +12,7 @@
#include <atomic>
#include <stdexcept>
#include <sys/eventfd.h>
#include <unistd.h>
template<typename T>
class Mailbox {
......@@ -85,7 +86,7 @@ public:
if (isBound()) {
uint64_t val = 1;
TRY_RET(write(event_fd, &val, sizeof val));
TRY(write(event_fd, &val, sizeof val));
}
return ret;
......
......@@ -56,6 +56,9 @@ public:
Address(const Address& other) = default;
Address(Address&& other) = default;
Address &operator=(const Address& other) = default;
Address &operator=(Address&& other) = default;
static Address fromUnix(struct sockaddr *addr);
std::string host() const;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment