mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Fixes for issues found by PVS Studio.
This commit is contained in:
@@ -67,7 +67,7 @@ cv::GMetaArg QueueSourceBase::descr_of() const {
|
||||
|
||||
QueueInput::QueueInput(const cv::GMetaArgs &args) {
|
||||
for (auto &&m : args) {
|
||||
m_sources.emplace_back(new cv::gapi::wip::QueueSourceBase(m));
|
||||
m_sources.emplace_back(std::make_shared<cv::gapi::wip::QueueSourceBase>(m));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user