mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
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.
This commit is contained in:
parent
28f9ff1312
commit
32942c99d8
1 changed files with 1 additions and 1 deletions
|
@ -805,7 +805,7 @@ gst_face_detect_load_profile (GstFaceDetect * filter, gchar * profile)
|
||||||
cascade = new CascadeClassifier (profile);
|
cascade = new CascadeClassifier (profile);
|
||||||
if (cascade->empty ()) {
|
if (cascade->empty ()) {
|
||||||
GST_ERROR_OBJECT (filter, "Invalid profile file: %s", profile);
|
GST_ERROR_OBJECT (filter, "Invalid profile file: %s", profile);
|
||||||
delete (cascade);
|
delete cascade;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue