summaryrefslogtreecommitdiff
path: root/src/utils/optional_bool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/optional_bool.cpp')
-rw-r--r--src/utils/optional_bool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/optional_bool.cpp b/src/utils/optional_bool.cpp
index 56fdca2..1d1c375 100644
--- a/src/utils/optional_bool.cpp
+++ b/src/utils/optional_bool.cpp
@@ -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;
}