diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-05-10 02:51:05 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-05-10 02:51:05 +0400 |
commit | 9c9d88a78a13d7bd5ad4f10b06c355519e4e41ad (patch) | |
tree | 7961401877857cf42849916ef7aaba8258a1bc55 /mert/OptimizerFactoryTest.cpp | |
parent | aa269bdb4d82207d1381069c256745780f7cd798 (diff) |
Avoid "using namespace std" in headers.
Diffstat (limited to 'mert/OptimizerFactoryTest.cpp')
-rw-r--r-- | mert/OptimizerFactoryTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mert/OptimizerFactoryTest.cpp b/mert/OptimizerFactoryTest.cpp index 53c2d252a..684af711a 100644 --- a/mert/OptimizerFactoryTest.cpp +++ b/mert/OptimizerFactoryTest.cpp @@ -8,10 +8,10 @@ namespace { inline bool CheckBuildOptimizer(unsigned dim, - const vector<unsigned>& to_optimize, - const vector<bool>& positive, - const vector<parameter_t>& start, - const string& type, + const std::vector<unsigned>& to_optimize, + const std::vector<bool>& positive, + const std::vector<parameter_t>& start, + const std::string& type, unsigned int num_random) { boost::scoped_ptr<Optimizer> optimizer(OptimizerFactory::BuildOptimizer(dim, to_optimize, positive, start, type, num_random)); return optimizer.get() != NULL; |