Commit f1d1b612 authored by Paul's avatar Paul
Browse files

Fix literal test

parent 2ac09df3
...@@ -27,9 +27,7 @@ struct raw_data : raw_data_base ...@@ -27,9 +27,7 @@ struct raw_data : raw_data_base
template <class Stream> template <class Stream>
friend Stream& operator<<(Stream& os, const Derived& d) friend Stream& operator<<(Stream& os, const Derived& d)
{ {
if(d.empty()) if(not d.empty())
os << "empty";
else
d.visit([&](auto x) { os << x; }); d.visit([&](auto x) { os << x; });
return os; return os;
} }
......
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