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
c55b30eb
Commit
c55b30eb
authored
Nov 25, 2018
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing forward declaration
parent
9c224ea4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
libcaf_core/caf/fwd.hpp
libcaf_core/caf/fwd.hpp
+4
-0
libcaf_core/caf/stateful_actor.hpp
libcaf_core/caf/stateful_actor.hpp
+1
-1
No files found.
libcaf_core/caf/fwd.hpp
View file @
c55b30eb
...
...
@@ -132,6 +132,10 @@ class uniform_type_info_map;
class
uri
;
class
uri_builder
;
// -- templates with default parameters ----------------------------------------
template
<
class
,
class
=
event_based_actor
>
class
stateful_actor
;
// -- structs ------------------------------------------------------------------
struct
unit_t
;
...
...
libcaf_core/caf/stateful_actor.hpp
View file @
c55b30eb
...
...
@@ -35,7 +35,7 @@ namespace caf {
/// actor called `quit`. This state management brakes cycles and
/// allows actors to automatically release ressources as soon
/// as possible.
template
<
class
State
,
class
Base
=
event_based_actor
>
template
<
class
State
,
class
Base
/* = event_based_actor (see fwd.hpp) */
>
class
stateful_actor
:
public
Base
{
public:
template
<
class
...
Ts
>
...
...
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