Skip to content

Commit

Permalink
Set of build fixes for ## 3581, 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 f80ba14
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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/face/src/facemarkLBF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ Mat FacemarkLBFImpl::Regressor::supportVectorRegression(
std::vector<double> beta(l);
std::vector<double> QD(l);

double lambda[1], upper_bound[1];
double lambda[l], upper_bound[l];
lambda[0] = 0.5/C;
upper_bound[0] = HUGE_VAL;

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 f80ba14

Please sign in to comment.