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
90e338f3
Commit
90e338f3
authored
Mar 06, 2018
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused state from stream<T>
parent
ea00fd7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
22 deletions
+1
-22
libcaf_core/caf/stream.hpp
libcaf_core/caf/stream.hpp
+1
-22
No files found.
libcaf_core/caf/stream.hpp
View file @
90e338f3
...
...
@@ -45,17 +45,7 @@ public:
/// Convenience constructor for returning the result of `self->new_stream`
/// and similar functions.
explicit
stream
(
stream_slot
id
=
0
,
stream_manager_ptr
sptr
=
nullptr
)
:
slot_
(
id
),
ptr_
(
std
::
move
(
sptr
))
{
// nop
}
/// Convenience constructor for returning the result of `self->new_stream`
/// and similar functions.
stream
(
stream
other
,
stream_manager_ptr
sptr
)
:
slot_
(
std
::
move
(
other
.
slot_
)),
ptr_
(
std
::
move
(
sptr
))
{
explicit
stream
(
stream_slot
id
=
0
)
:
slot_
(
id
)
{
// nop
}
...
...
@@ -66,16 +56,6 @@ public:
return
slot_
;
}
/// Returns the handler assigned to this stream on this actor.
inline
stream_manager_ptr
&
ptr
()
noexcept
{
return
ptr_
;
}
/// Returns the handler assigned to this stream on this actor.
inline
const
stream_manager_ptr
&
ptr
()
const
noexcept
{
return
ptr_
;
}
// -- serialization support --------------------------------------------------
template
<
class
Inspector
>
...
...
@@ -87,7 +67,6 @@ private:
// -- member variables -------------------------------------------------------
stream_slot
slot_
;
stream_manager_ptr
ptr_
;
};
}
// namespace caf
...
...
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