Skip to content

Commit 440295a

Browse files
author
Carsten Griwodz
committed
[bugfix] add include for ostringstream
1 parent 845ed44 commit 440295a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/popsift/sift_conf.cu

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "sift_conf.h"
1010

1111
#include <iostream>
12+
#include <sstream>
1213
#include <algorithm>
1314

1415
using namespace std;
@@ -291,7 +292,7 @@ float Config::getEdgeThreshDefault( )
291292
}
292293
std::string Config::getEdgeThreshUsage( )
293294
{
294-
ostringstream ostr;
295+
std::ostringstream ostr;
295296
ostr << "Edge Threshold: eliminates peaks of the DoG scale space whose curvature is too small." << endl
296297
<< "Default: " << getEdgeThreshDefault() << endl
297298
<< "Set to a value <= 0 to disable." << endl;
@@ -310,7 +311,7 @@ float Config::getPeakThreshDefault( )
310311
}
311312
std::string Config::getPeakThreshUsage( )
312313
{
313-
ostringstream ostr;
314+
std::ostringstream ostr;
314315
ostr << "Peak Threshold: eliminates peaks of the DoG scale space that are too small" <<endl
315316
<< "(contrast too small in absolute value)." << endl
316317
<< "Default: " << getPeakThreshDefault() << endl

0 commit comments

Comments
 (0)