From 78f927e6066aac81d9b81deeee2d7461a434fc1e Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Fri, 27 Mar 2020 11:42:58 +0000 Subject: [PATCH] revide comments in cpp binding --- README.md | 4 ++-- cplusplus/include/vips/VImage8.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1b8e6e52..03bab492 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ Untar, then in the libvips directory you should just be able to do: ./configure Check the summary at the end of `configure` carefully. libvips must have -`build-essential`, `pkg-config`, `glib2.0-dev`, `libexpat1-dev`. +`build-essential`, `pkg-config`, `libglib2.0-dev`, `libexpat1-dev`. You'll need the dev packages for the file format support you want. For basic jpeg and tiff support, you'll need `libtiff5-dev`, `libjpeg-turbo8-dev`, @@ -115,7 +115,7 @@ Debug build: # Dependencies -libvips has to have `glib2.0-dev` and `libexpat1-dev`. Other dependencies +libvips has to have `libglib2.0-dev` and `libexpat1-dev`. Other dependencies are optional. ## Optional dependencies diff --git a/cplusplus/include/vips/VImage8.h b/cplusplus/include/vips/VImage8.h index 5533b3cc..99b61a3b 100644 --- a/cplusplus/include/vips/VImage8.h +++ b/cplusplus/include/vips/VImage8.h @@ -111,7 +111,6 @@ public: } // assignment ... we must delete the old ref - // old can be NULL, new must not be NULL VObject &operator=( const VObject &a ) { #ifdef VIPS_DEBUG_VERBOSE