Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
actor-incubator
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
cpp-libs
actor-incubator
Commits
1616d88e
Commit
1616d88e
authored
Aug 19, 2019
by
Joseph Noir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused function
parent
04caff86
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
libcaf_net/caf/net/socket.hpp
libcaf_net/caf/net/socket.hpp
+0
-4
libcaf_net/src/socket.cpp
libcaf_net/src/socket.cpp
+0
-4
No files found.
libcaf_net/caf/net/socket.hpp
View file @
1616d88e
...
@@ -55,10 +55,6 @@ void close(socket x);
...
@@ -55,10 +55,6 @@ void close(socket x);
/// @relates socket
/// @relates socket
std
::
errc
last_socket_error
();
std
::
errc
last_socket_error
();
/// Returns the string representation of a given socket error code.
/// @relates socket
std
::
string
socket_error_as_string
(
std
::
errc
err
);
/// Returns the last socket error as human-readable string.
/// Returns the last socket error as human-readable string.
/// @relates socket
/// @relates socket
std
::
string
last_socket_error_as_string
();
std
::
string
last_socket_error_as_string
();
...
...
libcaf_net/src/socket.cpp
View file @
1616d88e
...
@@ -150,10 +150,6 @@ std::errc last_socket_error() {
...
@@ -150,10 +150,6 @@ std::errc last_socket_error() {
return
static_cast
<
std
::
errc
>
(
errno
);
return
static_cast
<
std
::
errc
>
(
errno
);
}
}
std
::
string
socket_error_as_string
(
std
::
errc
err
)
{
return
strerror
(
static_cast
<
int
>
(
err
));
}
std
::
string
last_socket_error_as_string
()
{
std
::
string
last_socket_error_as_string
()
{
return
strerror
(
errno
);
return
strerror
(
errno
);
}
}
...
...
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