Set of build fixes for ## 3580, 3574.

pull/3584/head
Alexander Smorkalov 2 years ago
parent 5b95c334d7
commit 51de5807e8
  1. 2
      modules/cudaarithm/test/test_event.cpp
  2. 2
      modules/datasets/src/tinyxml2/tinyxml2.h
  3. 2
      modules/xphoto/src/oilpainting.cpp

@ -91,7 +91,7 @@ CUDA_TEST_P(AsyncEvent, Timing)
const double elTimeMs = Event::elapsedTime(startEvent, stopEvent);
ASSERT_GT(elTimeMs, 0);
}
catch (cv::Exception ex) {
catch (const cv::Exception& ex) {
failed = true;
}
ASSERT_EQ(failed, shouldFail.at(i));

@ -212,7 +212,7 @@ template <class T, int INIT>
class DynArray
{
public:
DynArray< T, INIT >() {
DynArray() {
_mem = _pool;
_allocated = INIT;
_size = 0;

@ -58,7 +58,7 @@ private:
int dynRatio;
public:
ParallelOilPainting<Type>(Mat& img, Mat &d, Mat &iLuminance, int r,int k) :
ParallelOilPainting(Mat& img, Mat &d, Mat &iLuminance, int r,int k) :
imgSrc(img),
dst(d),
imgLuminance(iLuminance),

Loading…
Cancel
Save