Skip to content

Commit

Permalink
Merge pull request opencv#1082 from jet47:gpu-warnings-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Pavlenko authored and OpenCV Buildbot committed Jul 11, 2013
2 parents 68a992b + b4d95b1 commit decd0c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions modules/gpuarithm/test/test_precomp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
#ifndef __OPENCV_TEST_PRECOMP_HPP__
#define __OPENCV_TEST_PRECOMP_HPP__

#include <functional>

#include "opencv2/ts.hpp"
#include "opencv2/ts/gpu_test.hpp"

Expand Down
4 changes: 2 additions & 2 deletions modules/gpustereo/src/stereobm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ namespace
int getPreFilterCap() const { return preFilterCap_; }
void setPreFilterCap(int preFilterCap) { preFilterCap_ = preFilterCap; }

int getTextureThreshold() const { return avergeTexThreshold_; }
void setTextureThreshold(int textureThreshold) { avergeTexThreshold_ = textureThreshold; }
int getTextureThreshold() const { return static_cast<int>(avergeTexThreshold_); }
void setTextureThreshold(int textureThreshold) { avergeTexThreshold_ = static_cast<float>(textureThreshold); }

int getUniquenessRatio() const { return 0; }
void setUniquenessRatio(int /*uniquenessRatio*/) {}
Expand Down

0 comments on commit decd0c7

Please sign in to comment.