Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
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
Operations
Operations
Metrics
Environments
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 Framework
Commits
c3b7b23e
Commit
c3b7b23e
authored
Aug 24, 2011
by
neverlord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inlined bind_failure::error_code
parent
f1167ce5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
cppa/exception.hpp
cppa/exception.hpp
+6
-1
src/exception.cpp
src/exception.cpp
+0
-5
No files found.
cppa/exception.hpp
View file @
c3b7b23e
...
...
@@ -55,7 +55,7 @@ class bind_failure : public network_exception
bind_failure
(
int
bind_errno
);
int
error_code
()
const
throw
();
in
line
in
t
error_code
()
const
throw
();
};
...
...
@@ -64,6 +64,11 @@ inline std::uint32_t actor_exited::reason() const throw()
return
m_reason
;
}
inline
int
bind_failure
::
error_code
()
const
throw
()
{
return
m_errno
;
}
}
// namespace cppa
#endif // EXCEPTION_HPP
src/exception.cpp
View file @
c3b7b23e
...
...
@@ -71,9 +71,4 @@ bind_failure::bind_failure(int err_code) : network_exception(be_what(err_code))
m_errno
=
err_code
;
}
int
bind_failure
::
error_code
()
const
throw
()
{
return
m_errno
;
}
}
// namespace cppa
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