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
9993f0c2
Commit
9993f0c2
authored
Feb 17, 2020
by
dosuperuser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert const qualifier on local_actor
parent
2d7b0eae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
libcaf_core/caf/local_actor.hpp
libcaf_core/caf/local_actor.hpp
+2
-2
libcaf_core/src/local_actor.cpp
libcaf_core/src/local_actor.cpp
+2
-2
No files found.
libcaf_core/caf/local_actor.hpp
View file @
9993f0c2
...
@@ -340,12 +340,12 @@ public:
...
@@ -340,12 +340,12 @@ public:
/// Serializes the state of this actor to `sink`. This function is
/// Serializes the state of this actor to `sink`. This function is
/// only called if this actor has set the `is_serializable` flag.
/// only called if this actor has set the `is_serializable` flag.
/// The default implementation throws a `std::logic_error`.
/// The default implementation throws a `std::logic_error`.
virtual
error
save_state
(
serializer
&
sink
,
unsigned
int
version
)
const
;
virtual
error
save_state
(
serializer
&
sink
,
unsigned
int
version
);
/// Deserializes the state of this actor from `source`. This function is
/// Deserializes the state of this actor from `source`. This function is
/// only called if this actor has set the `is_serializable` flag.
/// only called if this actor has set the `is_serializable` flag.
/// The default implementation throws a `std::logic_error`.
/// The default implementation throws a `std::logic_error`.
virtual
error
load_state
(
deserializer
&
source
,
unsigned
int
version
)
const
;
virtual
error
load_state
(
deserializer
&
source
,
unsigned
int
version
);
/// Returns the currently defined fail state. If this reason is not
/// Returns the currently defined fail state. If this reason is not
/// `none` then the actor will terminate with this error after executing
/// `none` then the actor will terminate with this error after executing
...
...
libcaf_core/src/local_actor.cpp
View file @
9993f0c2
...
@@ -108,11 +108,11 @@ const char* local_actor::name() const {
...
@@ -108,11 +108,11 @@ const char* local_actor::name() const {
return
"actor"
;
return
"actor"
;
}
}
error
local_actor
::
save_state
(
serializer
&
,
const
unsigned
int
)
const
{
error
local_actor
::
save_state
(
serializer
&
,
const
unsigned
int
)
{
CAF_RAISE_ERROR
(
"local_actor::serialize called"
);
CAF_RAISE_ERROR
(
"local_actor::serialize called"
);
}
}
error
local_actor
::
load_state
(
deserializer
&
,
const
unsigned
int
)
const
{
error
local_actor
::
load_state
(
deserializer
&
,
const
unsigned
int
)
{
CAF_RAISE_ERROR
(
"local_actor::deserialize called"
);
CAF_RAISE_ERROR
(
"local_actor::deserialize called"
);
}
}
...
...
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