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
fdd24706
Commit
fdd24706
authored
Nov 28, 2016
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build of caf-vec w/ exceptions disabled
parent
0c468817
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tools/caf-vec.cpp
tools/caf-vec.cpp
+3
-3
No files found.
tools/caf-vec.cpp
View file @
fdd24706
...
...
@@ -206,7 +206,7 @@ typename Inspector::result_type inspect(Inspector& f, entity& x) {
mailbox_id
to_mailbox_id
(
const
entity
&
x
)
{
if
(
x
.
aid
==
0
)
throw
std
::
runtime_error
(
"threads do not have a mailbox ID"
);
CAF_RAISE_ERROR
(
"threads do not have a mailbox ID"
);
return
{
x
.
aid
,
x
.
nid
};
}
...
...
@@ -579,7 +579,7 @@ const string& get(const std::map<string, string>& xs, const string& x) {
auto
i
=
xs
.
find
(
x
);
if
(
i
!=
xs
.
end
())
return
i
->
second
;
throw
std
::
runtime_error
(
"key not found"
);
CAF_RAISE_ERROR
(
"key not found"
);
}
void
second_pass
(
blocking_actor
*
self
,
const
group
&
grp
,
...
...
@@ -608,7 +608,7 @@ void second_pass(blocking_actor* self, const group& grp,
auto
i
=
local_entities_state
.
find
(
x
);
if
(
i
!=
local_entities_state
.
end
())
return
i
->
second
;
throw
std
::
runtime_error
(
"logger ID not found"
);
CAF_RAISE_ERROR
(
"logger ID not found"
);
};
// additional state for second pass
size_t
line
=
0
;
...
...
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