Skip to content

Commit 86cb435

Browse files
committed
dnn: fix build (nullptr issue)
1 parent 513f5a8 commit 86cb435

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/dnn/src/layers/proposal_layer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ class ProposalLayerImpl CV_FINAL : public ProposalLayer
287287
CV_Assert(imInfo.total() >= 2);
288288
// We've chosen the smallest data type because we need just a shape from it.
289289
// We don't allocate memory but just need the shape is correct.
290-
Mat fakeImageBlob(shape(1, 1, imInfo.at<float>(0), imInfo.at<float>(1)), CV_8UC1, nullptr);
290+
Mat fakeImageBlob(shape(1, 1, imInfo.at<float>(0), imInfo.at<float>(1)), CV_8UC1, NULL);
291291

292292
// Generate prior boxes.
293293
std::vector<Mat> layerInputs(2), layerOutputs(1, priorBoxes);

0 commit comments

Comments
 (0)