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
bbcd12b7
Commit
bbcd12b7
authored
Feb 06, 2022
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix formatting
parent
f9561cb6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
4 deletions
+3
-4
libcaf_core/caf/cow_string.hpp
libcaf_core/caf/cow_string.hpp
+1
-1
libcaf_core/caf/flow/observable.hpp
libcaf_core/caf/flow/observable.hpp
+0
-1
libcaf_core/caf/flow/step.hpp
libcaf_core/caf/flow/step.hpp
+0
-1
libcaf_core/test/flow/prefix_and_tail.cpp
libcaf_core/test/flow/prefix_and_tail.cpp
+2
-1
No files found.
libcaf_core/caf/cow_string.hpp
View file @
bbcd12b7
...
@@ -245,7 +245,7 @@ public:
...
@@ -245,7 +245,7 @@ public:
}
}
int
compare
(
const
std_type
&
x
)
const
noexcept
{
int
compare
(
const
std_type
&
x
)
const
noexcept
{
return
str
().
compare
(
x
);
return
str
().
compare
(
x
);
}
}
int
compare
(
const
cow_string
&
x
)
const
noexcept
{
int
compare
(
const
cow_string
&
x
)
const
noexcept
{
...
...
libcaf_core/caf/flow/observable.hpp
View file @
bbcd12b7
...
@@ -1573,7 +1573,6 @@ public:
...
@@ -1573,7 +1573,6 @@ public:
CAF_INTRUSIVE_PTR_FRIENDS
(
prefix_and_tail_observable_impl
)
CAF_INTRUSIVE_PTR_FRIENDS
(
prefix_and_tail_observable_impl
)
// -- implementation of disposable::impl -------------------------------------
// -- implementation of disposable::impl -------------------------------------
void
dispose
()
override
{
void
dispose
()
override
{
...
...
libcaf_core/caf/flow/step.hpp
View file @
bbcd12b7
...
@@ -248,5 +248,4 @@ struct on_error_complete_step {
...
@@ -248,5 +248,4 @@ struct on_error_complete_step {
}
}
};
};
}
// namespace caf::flow
}
// namespace caf::flow
libcaf_core/test/flow/prefix_and_tail.cpp
View file @
bbcd12b7
...
@@ -144,7 +144,8 @@ SCENARIO("head_and_tail splits off the first element") {
...
@@ -144,7 +144,8 @@ SCENARIO("head_and_tail splits off the first element") {
THEN
(
"the observer of head_and_tail only receives on_complete"
)
{
THEN
(
"the observer of head_and_tail only receives on_complete"
)
{
auto
inputs
=
std
::
vector
<
int
>
{};
auto
inputs
=
std
::
vector
<
int
>
{};
auto
obs
=
std
::
make_shared
<
test_observer
<
tuple_t
>>
();
auto
obs
=
std
::
make_shared
<
test_observer
<
tuple_t
>>
();
ctx
->
make_observable
()
ctx
//
->
make_observable
()
.
from_container
(
inputs
)
.
from_container
(
inputs
)
.
head_and_tail
()
.
head_and_tail
()
.
subscribe
(
flow
::
make_observer_from_ptr
(
obs
));
.
subscribe
(
flow
::
make_observer_from_ptr
(
obs
));
...
...
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