Fix release compile error

This commit is contained in:
Igor Canadi 2014-07-23 16:49:58 -04:00
parent da9274574f
commit e5f6980d99
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,8 @@ bool Variant::operator==(const Variant& rhs) {
default: default:
assert(false); assert(false);
} }
// it will never reach here, but otherwise the compiler complains
return false;
} }
bool Variant::operator!=(const Variant& rhs) { return !(*this == rhs); } bool Variant::operator!=(const Variant& rhs) { return !(*this == rhs); }