Skip to content

Commit 51de580

Browse files
committed
Set of build fixes for ## 3580, 3574.
1 parent 5b95c33 commit 51de580

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

modules/cudaarithm/test/test_event.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ CUDA_TEST_P(AsyncEvent, Timing)
9191
const double elTimeMs = Event::elapsedTime(startEvent, stopEvent);
9292
ASSERT_GT(elTimeMs, 0);
9393
}
94-
catch (cv::Exception ex) {
94+
catch (const cv::Exception& ex) {
9595
failed = true;
9696
}
9797
ASSERT_EQ(failed, shouldFail.at(i));

modules/datasets/src/tinyxml2/tinyxml2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ template <class T, int INIT>
212212
class DynArray
213213
{
214214
public:
215-
DynArray< T, INIT >() {
215+
DynArray() {
216216
_mem = _pool;
217217
_allocated = INIT;
218218
_size = 0;

modules/xphoto/src/oilpainting.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class ParallelOilPainting : public ParallelLoopBody
5858
int dynRatio;
5959

6060
public:
61-
ParallelOilPainting<Type>(Mat& img, Mat &d, Mat &iLuminance, int r,int k) :
61+
ParallelOilPainting(Mat& img, Mat &d, Mat &iLuminance, int r,int k) :
6262
imgSrc(img),
6363
dst(d),
6464
imgLuminance(iLuminance),

0 commit comments

Comments
 (0)