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
ff6e8371
Commit
ff6e8371
authored
Jun 13, 2021
by
Marian Triebe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some typos
parent
b9f000ae
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
17 additions
and
17 deletions
+17
-17
libcaf_core/caf/detail/meta_object.hpp
libcaf_core/caf/detail/meta_object.hpp
+1
-1
libcaf_core/caf/detail/monotonic_buffer_resource.hpp
libcaf_core/caf/detail/monotonic_buffer_resource.hpp
+1
-1
libcaf_core/caf/intrusive_cow_ptr.hpp
libcaf_core/caf/intrusive_cow_ptr.hpp
+1
-1
libcaf_core/test/detail/unique_function.cpp
libcaf_core/test/detail/unique_function.cpp
+8
-8
libcaf_core/test/dictionary.cpp
libcaf_core/test/dictionary.cpp
+1
-1
libcaf_core/test/variant.cpp
libcaf_core/test/variant.cpp
+1
-1
libcaf_io/caf/io/basp/connection_state.hpp
libcaf_io/caf/io/basp/connection_state.hpp
+1
-1
libcaf_io/caf/io/basp/instance.hpp
libcaf_io/caf/io/basp/instance.hpp
+1
-1
libcaf_openssl/test/openssl/authentication.cpp
libcaf_openssl/test/openssl/authentication.cpp
+1
-1
manual/TypeInspection.rst
manual/TypeInspection.rst
+1
-1
No files found.
libcaf_core/caf/detail/meta_object.hpp
View file @
ff6e8371
...
...
@@ -14,7 +14,7 @@
namespace
caf
::
detail
{
/// Enables destroying, construcing and serializing objects through type-erased
/// Enables destroying, construc
t
ing and serializing objects through type-erased
/// pointers.
struct
meta_object
{
/// Stores a human-readable representation of the type's name.
...
...
libcaf_core/caf/detail/monotonic_buffer_resource.hpp
View file @
ff6e8371
...
...
@@ -24,7 +24,7 @@
namespace
caf
::
detail
{
/// Replacement for `std::pmr::monotonic_buffer_resource`, which sadly is not
/// available on all platforms CAF curren
lt
y supports. This resource does not
/// available on all platforms CAF curren
tl
y supports. This resource does not
/// support upstream resources and instead always uses `malloc` and `free`.
class
CAF_CORE_EXPORT
monotonic_buffer_resource
{
public:
...
...
libcaf_core/caf/intrusive_cow_ptr.hpp
View file @
ff6e8371
...
...
@@ -176,7 +176,7 @@ public:
}
private:
// -- member va
ir
ables -------------------------------------------------------
// -- member va
ri
ables -------------------------------------------------------
counting_pointer
ptr_
;
};
...
...
libcaf_core/test/detail/unique_function.cpp
View file @
ff6e8371
...
...
@@ -12,7 +12,7 @@ namespace {
using
int_fun
=
caf
::
detail
::
unique_function
<
int
()
>
;
int
fo
u
rty_two
()
{
int
forty_two
()
{
return
42
;
}
...
...
@@ -61,7 +61,7 @@ CAF_TEST(default construction) {
}
CAF_TEST
(
raw
function
pointer
construction
)
{
int_fun
f
{
fo
u
rty_two
};
int_fun
f
{
forty_two
};
CHECK_VALID
(
f
);
}
...
...
@@ -90,7 +90,7 @@ CAF_TEST(custom wrapper construction) {
}
CAF_TEST
(
function
move
construction
)
{
int_fun
f
{
fo
u
rty_two
};
int_fun
f
{
forty_two
};
int_fun
g
{
std
::
move
(
f
)};
CHECK_INVALID
(
f
);
CHECK_VALID
(
g
);
...
...
@@ -122,15 +122,15 @@ CAF_TEST(custom wrapper move construction) {
CAF_TEST
(
function
assign
)
{
size_t
instances
=
0
;
int_fun
f
;
int_fun
g
{
fo
u
rty_two
};
int_fun
g
{
forty_two
};
int_fun
h
{
new
instance_counting_wrapper
(
&
instances
)};
CAF_CHECK
(
instances
==
1
);
CHECK_INVALID
(
f
);
CHECK_VALID
(
g
);
CHECK_VALID
(
h
);
f
=
fo
u
rty_two
;
g
=
fo
u
rty_two
;
h
=
fo
u
rty_two
;
f
=
forty_two
;
g
=
forty_two
;
h
=
forty_two
;
CAF_CHECK
(
instances
==
0
);
CHECK_VALID
(
f
);
CHECK_VALID
(
g
);
...
...
@@ -140,7 +140,7 @@ CAF_TEST(function assign) {
CAF_TEST
(
move
assign
)
{
size_t
instances
=
0
;
int_fun
f
;
int_fun
g
{
fo
u
rty_two
};
int_fun
g
{
forty_two
};
int_fun
h
{
new
instance_counting_wrapper
(
&
instances
)};
CAF_CHECK
(
instances
==
1
);
CHECK_INVALID
(
f
);
...
...
libcaf_core/test/dictionary.cpp
View file @
ff6e8371
...
...
@@ -16,7 +16,7 @@ using int_dict = dictionary<int>;
}
// namespace
CAF_TEST
(
construction
and
compari
ons
)
{
CAF_TEST
(
construction
and
compari
son
)
{
int_dict
xs
;
CAF_CHECK_EQUAL
(
xs
.
empty
(),
true
);
CAF_CHECK_EQUAL
(
xs
.
size
(),
0u
);
...
...
libcaf_core/test/variant.cpp
View file @
ff6e8371
...
...
@@ -20,7 +20,7 @@ using namespace std::string_literals;
using
namespace
caf
;
// 20 integer wrappers for building a variant with 20 distint types
// 20 integer wrappers for building a variant with 20 distin
c
t types
#define i_n(n) \
class i##n { \
public: \
...
...
libcaf_io/caf/io/basp/connection_state.hpp
View file @
ff6e8371
...
...
@@ -37,7 +37,7 @@ enum connection_state {
no_route_to_receiving_node
,
};
/// Returns whether the connection state requ
ri
es a shutdown of the socket
/// Returns whether the connection state requ
ir
es a shutdown of the socket
/// connection.
constexpr
bool
requires_shutdown
(
connection_state
x
)
noexcept
{
// Any enum value other than await_header (0) and await_payload (1) signal the
...
...
libcaf_io/caf/io/basp/instance.hpp
View file @
ff6e8371
...
...
@@ -102,7 +102,7 @@ public:
instance
(
abstract_broker
*
parent
,
callee
&
lstnr
);
/// Handles received data and returns a config for receiving the
/// next data or `none` if an error occured.
/// next data or `none` if an error occur
r
ed.
connection_state
handle
(
execution_unit
*
ctx
,
new_data_msg
&
dm
,
header
&
hdr
,
bool
is_payload
);
...
...
libcaf_openssl/test/openssl/authentication.cpp
View file @
ff6e8371
...
...
@@ -124,7 +124,7 @@ struct fixture {
skip_client_side_ca
?
&
dummy
:
&
client_side_config
.
openssl_cafile
},
{
"cert.2.pem"
,
&
client_side_config
.
openssl_certificate
},
{
"key.2.pem"
,
&
client_side_config
.
openssl_key
}};
// return if any file is unreadable or non-existen
d
// return if any file is unreadable or non-existen
t
for
(
auto
&
x
:
cfg
)
{
auto
path
=
cd
+
x
.
first
;
if
(
access
(
path
.
c_str
(),
F_OK
)
==
-
1
)
{
...
...
manual/TypeInspection.rst
View file @
ff6e8371
...
...
@@ -90,7 +90,7 @@ the inspection API.
We strongly recommend using the fixed-width integer types in all user-defined
messaging types. Consistently using these types over ``short``, ``int``,
``long``, etc. avoids bugs in heterogeneous environ
em
nts that are hard to
``long``, etc. avoids bugs in heterogeneous environ
me
nts that are hard to
debug.
.. _writing-inspect-overloads:
...
...
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