mirror of
https://github.com/opencv/opencv.git
synced 2026-07-25 21:33:04 +04:00
Fixed tests execution with Python 2.7
This commit is contained in:
@@ -71,7 +71,7 @@ public:
|
||||
}
|
||||
|
||||
operator bool() {
|
||||
return static_cast<bool>(obj_);
|
||||
return obj_ != nullptr;
|
||||
}
|
||||
|
||||
PyObject* release()
|
||||
|
||||
Reference in New Issue
Block a user