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
be0e4f12
Commit
be0e4f12
authored
Apr 08, 2020
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing const
parent
5fc5bd29
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
libcaf_core/caf/detail/type_id_list_builder.hpp
libcaf_core/caf/detail/type_id_list_builder.hpp
+1
-1
libcaf_core/src/detail/type_id_list_builder.cpp
libcaf_core/src/detail/type_id_list_builder.cpp
+1
-1
No files found.
libcaf_core/caf/detail/type_id_list_builder.hpp
View file @
be0e4f12
...
...
@@ -50,7 +50,7 @@ public:
/// Convertes the internal buffer to a ::type_id_list and returns it.
/// @pre `push_back` was called at least once
type_id_list
copy_to_list
();
type_id_list
copy_to_list
()
const
;
void
clear
()
noexcept
{
if
(
storage_
)
...
...
libcaf_core/src/detail/type_id_list_builder.cpp
View file @
be0e4f12
...
...
@@ -134,7 +134,7 @@ type_id_list type_id_list_builder::move_to_list() {
return
type_id_list
{
get_or_set_type_id_buf
(
ptr
)};
}
type_id_list
type_id_list_builder
::
copy_to_list
()
{
type_id_list
type_id_list_builder
::
copy_to_list
()
const
{
if
(
size_
==
0
)
return
make_type_id_list
();
storage_
[
0
]
=
static_cast
<
type_id_t
>
(
size
());
...
...
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