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 1d1c375..56fdca2 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 std::optional<bool>& o)
+std::ostream& operator<<(std::ostream& os, const OptionalBool& o)
{
- os << std::to_string(o);
+ os << o.to_string();
return os;
}