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
80c56b4f
Commit
80c56b4f
authored
Jul 09, 2016
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to_string of none and unit
parent
34d86dd7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
libcaf_core/caf/none.hpp
libcaf_core/caf/none.hpp
+1
-2
libcaf_core/caf/unit.hpp
libcaf_core/caf/unit.hpp
+2
-3
No files found.
libcaf_core/caf/none.hpp
View file @
80c56b4f
...
...
@@ -43,8 +43,7 @@ struct none_t : detail::comparable<none_t> {
static
constexpr
none_t
none
=
none_t
{};
/// @relates none_t
template
<
class
T
>
std
::
string
to_string
(
const
none_t
&
)
{
inline
std
::
string
to_string
(
const
none_t
&
)
{
return
"<none>"
;
}
...
...
libcaf_core/caf/unit.hpp
View file @
80c56b4f
...
...
@@ -57,9 +57,8 @@ void serialize(Processor&, const unit_t&, const unsigned int) {
}
/// @relates unit_t
template
<
class
T
>
std
::
string
to_string
(
const
unit_t
&
)
{
return
"<unit>"
;
inline
std
::
string
to_string
(
const
unit_t
&
)
{
return
"unit"
;
}
template
<
class
T
>
...
...
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