mirror of
https://github.com/opencv/opencv.git
synced 2026-10-01 04:03:49 +03:00
Fixed tests execution with Python 2.7
This commit is contained in:
1 parent
37aa823112
commit
48c52c8bbb
2 files changed
+9
-4
No files matched your search
@@ -71,7 +71,7 @@ public:
|
||||
}
|
||||
|
||||
operator bool() {
|
||||
return static_cast<bool>(obj_);
|
||||
return obj_ != nullptr;
|
||||
}
|
||||
|
||||
PyObject* release()
|
||||
|
||||
Reference in new issue
Block a user