Skip to content

Commit bb6a6d3

Browse files
committed
fix: invert Value::getBool
1 parent 9fe16c8 commit bb6a6d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/mrdox/Support/Dom.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ class MRDOX_DECL
245245
bool getBool() const noexcept
246246
{
247247
MRDOX_ASSERT(kind_ == Kind::Boolean);
248-
return number_ == 0;
248+
return number_ != 0;
249249
}
250250

251251
std::int64_t getInteger() const noexcept

0 commit comments

Comments
 (0)