Skip to content

Commit 5dc80e0

Browse files
committed
Fixed gcc compilation error
1 parent b24670c commit 5dc80e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CompressiveTracker.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ void CompressiveTracker::HaarFeature(Rect& _objectBox, int _numFeature)
3131
-_numFeature: total number of features.The default is 50.
3232
*/
3333
{
34-
features = vector<vector<Rect>>(_numFeature, vector<Rect>());
35-
featuresWeight = vector<vector<float>>(_numFeature, vector<float>());
34+
features = vector<vector<Rect> >(_numFeature, vector<Rect>());
35+
featuresWeight = vector<vector<float> >(_numFeature, vector<float>());
3636

3737
int numRect;
3838
Rect rectTemp;

CompressiveTracker.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ class CompressiveTracker
2929
int featureMinNumRect;
3030
int featureMaxNumRect;
3131
int featureNum;
32-
vector<vector<Rect>> features;
33-
vector<vector<float>> featuresWeight;
32+
vector<vector<Rect> > features;
33+
vector<vector<float> > featuresWeight;
3434
int rOuterPositive;
3535
vector<Rect> samplePositiveBox;
3636
vector<Rect> sampleNegativeBox;

0 commit comments

Comments
 (0)