Skip to content

Commit

Permalink
Set of build fixes for ## 3580, 3574.
Browse files Browse the repository at this point in the history
  • Loading branch information
asmorkalov committed Oct 26, 2023
1 parent 5b95c33 commit 51de580
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/cudaarithm/test/test_event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion modules/datasets/src/tinyxml2/tinyxml2.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ template <class T, int INIT>
class DynArray
{
public:
DynArray< T, INIT >() {
DynArray() {
_mem = _pool;
_allocated = INIT;
_size = 0;
Expand Down
2 changes: 1 addition & 1 deletion modules/xphoto/src/oilpainting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class ParallelOilPainting : public ParallelLoopBody
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),
Expand Down

0 comments on commit 51de580

Please sign in to comment.