diff options
author | Vanessa Chipi <vchipirras6@gmail.com> | 2015-08-10 23:02:12 +0200 |
---|---|---|
committer | Luis de Bethencourt <luis@debethencourt.com> | 2015-08-11 11:26:17 +0100 |
commit | 32942c99d882dec0d6ed0ca4f31f5c83fe2b6b62 (patch) | |
tree | d64f49a81b4875470840bd15c368cd2ee91a4976 /ext | |
parent | 28f9ff131276e3e0df5d0b6d6e5c03ce01f5319e (diff) | |
download | gstreamer-plugins-bad-32942c99d882dec0d6ed0ca4f31f5c83fe2b6b62.tar.gz |
facedetect: wrong form to write the delete operator
The delete operator is written this way: delete (cascade). This way is
misspelled, it is an operator, not a function. Delete the parentheses.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/opencv/gstfacedetect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opencv/gstfacedetect.cpp b/ext/opencv/gstfacedetect.cpp index a5e4b99ec..722244fe5 100644 --- a/ext/opencv/gstfacedetect.cpp +++ b/ext/opencv/gstfacedetect.cpp @@ -805,7 +805,7 @@ gst_face_detect_load_profile (GstFaceDetect * filter, gchar * profile) cascade = new CascadeClassifier (profile); if (cascade->empty ()) { GST_ERROR_OBJECT (filter, "Invalid profile file: %s", profile); - delete (cascade); + delete cascade; return NULL; } |