Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vowpalwabbit/noop.cc')
-rw-r--r--vowpalwabbit/noop.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/vowpalwabbit/noop.cc b/vowpalwabbit/noop.cc
index 797bfc3e..0c883a8c 100644
--- a/vowpalwabbit/noop.cc
+++ b/vowpalwabbit/noop.cc
@@ -7,11 +7,9 @@ license as described in the file LICENSE.
#include "reductions.h"
-using namespace LEARNER;
-
namespace NOOP {
- void learn(char&, base_learner&, example&) {}
+ void learn(char&, LEARNER::base_learner&, example&) {}
- base_learner* setup(vw& all)
- { return &init_learner<char>(NULL, learn, 1); }
+ LEARNER::base_learner* setup(vw& all)
+ { return &LEARNER::init_learner<char>(NULL, learn, 1); }
}