diff --git a/cplusplus/include/vips/VImage8.h b/cplusplus/include/vips/VImage8.h index 608db6cd..0ff2a615 100644 --- a/cplusplus/include/vips/VImage8.h +++ b/cplusplus/include/vips/VImage8.h @@ -162,7 +162,7 @@ public: bool is_null() const { - return vobject == nullptr; + return vobject == 0; } };