Commit 80c56b4f authored by Dominik Charousset's avatar Dominik Charousset

Fix to_string of none and unit

parent 34d86dd7
...@@ -43,8 +43,7 @@ struct none_t : detail::comparable<none_t> { ...@@ -43,8 +43,7 @@ struct none_t : detail::comparable<none_t> {
static constexpr none_t none = none_t{}; static constexpr none_t none = none_t{};
/// @relates none_t /// @relates none_t
template <class T> inline std::string to_string(const none_t&) {
std::string to_string(const none_t&) {
return "<none>"; return "<none>";
} }
......
...@@ -57,9 +57,8 @@ void serialize(Processor&, const unit_t&, const unsigned int) { ...@@ -57,9 +57,8 @@ void serialize(Processor&, const unit_t&, const unsigned int) {
} }
/// @relates unit_t /// @relates unit_t
template <class T> inline std::string to_string(const unit_t&) {
std::string to_string(const unit_t&) { return "unit";
return "<unit>";
} }
template <class T> template <class T>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment