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
14467ae0
Commit
14467ae0
authored
Nov 21, 2014
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix announce example 5
parent
a670c353
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/type_system/announce_5.cpp
examples/type_system/announce_5.cpp
+1
-1
No files found.
examples/type_system/announce_5.cpp
View file @
14467ae0
...
...
@@ -171,6 +171,7 @@ void testee(event_based_actor* self, size_t remaining) {
int
main
()
{
// the tree_type_info is owned by libcaf after this function call
announce
(
typeid
(
tree
),
std
::
unique_ptr
<
uniform_type_info
>
{
new
tree_type_info
});
announce
<
tree_vector
>
();
tree
t0
;
// create a tree and fill it with some data
...
...
@@ -202,7 +203,6 @@ int main() {
self
->
send
(
t
,
t0
);
// send a vector of trees
announce
<
tree_vector
>
();
tree_vector
tvec
;
tvec
.
push_back
(
t0
);
tvec
.
push_back
(
t0
);
...
...
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