fixed several warnings from Xcode 4 LLVM compiler; fixed bug #920

This commit is contained in:
Vadim Pisarevsky
2011-04-30 19:29:26 +00:00
parent 92852ca06e
commit 23a9b7bb9c
18 changed files with 51 additions and 53 deletions

View File

@@ -481,10 +481,9 @@ protected:
return true;
}
string name;
const DistanceType maxDist;
const float prevTime;
string name;
Ptr<DescriptorExtractor> dextractor;
Distance distance;
@@ -516,7 +515,7 @@ class CV_DescriptorMatcherTest : public cvtest::BaseTest
{
public:
CV_DescriptorMatcherTest( const string& _name, const Ptr<DescriptorMatcher>& _dmatcher, float _badPart ) :
name(_name), badPart(_badPart), dmatcher(_dmatcher)
badPart(_badPart), name(_name), dmatcher(_dmatcher)
{}
protected:
static const int dim = 500;