Skip to content
Snippets Groups Projects
Commit 03865517 authored by Henry Weller's avatar Henry Weller
Browse files

zero: Added support for initializing bool

parent 7e5d9982
Branches
Tags
No related merge requests found
...@@ -54,6 +54,12 @@ public: ...@@ -54,6 +54,12 @@ public:
zero() zero()
{} {}
//- Return 0 for bool
inline operator bool() const
{
return 0;
}
//- Return 0 for label //- Return 0 for label
inline operator label() const inline operator label() const
{ {
......
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