Fix C&P issue int test of bool-likes in optional

This was likely an omission by copying `MyBool`
This commit is contained in:
Alexander Grund
2026-07-16 10:30:59 +02:00
parent 1fb60cb53b
commit 05dd1dd73e
+1 -1
View File
@@ -27,7 +27,7 @@ struct MyBool
struct MyExplicitBool
{
bool b;
MyExplicitBool (bool b) : b(b) {}
explicit MyExplicitBool (bool b) : b(b) {}
operator bool() const { return b; };
};