Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pistache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
pistache
Commits
29c0f686
Commit
29c0f686
authored
9 years ago
by
Mathieu STEFANI
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compilation issue and ICE for gcc 4.7
parent
3e6addba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/mailbox.h
src/mailbox.h
+2
-1
src/net.h
src/net.h
+3
-0
No files found.
src/mailbox.h
View file @
29c0f686
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
#include <atomic>
#include <atomic>
#include <stdexcept>
#include <stdexcept>
#include <sys/eventfd.h>
#include <sys/eventfd.h>
#include <unistd.h>
template
<
typename
T
>
template
<
typename
T
>
class
Mailbox
{
class
Mailbox
{
...
@@ -85,7 +86,7 @@ public:
...
@@ -85,7 +86,7 @@ public:
if
(
isBound
())
{
if
(
isBound
())
{
uint64_t
val
=
1
;
uint64_t
val
=
1
;
TRY
_RET
(
write
(
event_fd
,
&
val
,
sizeof
val
));
TRY
(
write
(
event_fd
,
&
val
,
sizeof
val
));
}
}
return
ret
;
return
ret
;
...
...
This diff is collapsed.
Click to expand it.
src/net.h
View file @
29c0f686
...
@@ -56,6 +56,9 @@ public:
...
@@ -56,6 +56,9 @@ public:
Address
(
const
Address
&
other
)
=
default
;
Address
(
const
Address
&
other
)
=
default
;
Address
(
Address
&&
other
)
=
default
;
Address
(
Address
&&
other
)
=
default
;
Address
&
operator
=
(
const
Address
&
other
)
=
default
;
Address
&
operator
=
(
Address
&&
other
)
=
default
;
static
Address
fromUnix
(
struct
sockaddr
*
addr
);
static
Address
fromUnix
(
struct
sockaddr
*
addr
);
std
::
string
host
()
const
;
std
::
string
host
()
const
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment