Use std::optional<bool> instead of OptionalBool
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#include <utils/optional_bool.hpp>
|
||||
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, const OptionalBool& o)
|
||||
std::ostream& operator<<(std::ostream& os, const std::optional<bool>& o)
|
||||
{
|
||||
os << o.to_string();
|
||||
os << std::to_string(o);
|
||||
return os;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user