Fix explicit operator bool to be negated is<nil_t>()

This commit is contained in:
Rapptz 2014-05-29 22:19:21 -04:00
parent af1f13d582
commit 089b075317

View File

@ -47,7 +47,7 @@ public:
}
explicit operator bool() const {
return is<nil_t>();
return !is<nil_t>();
}
};