summaryrefslogtreecommitdiff
path: root/mteval/external_scorer.h
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-11-25 23:24:42 +0000
committerPaul Baltescu <pauldb89@gmail.com>2013-11-25 23:24:42 +0000
commit0febed366e6c3fedd288bc1bddfcd65f247cab81 (patch)
tree5dbe0c5763994aa9d12c5092a9c1b39d87e16540 /mteval/external_scorer.h
parentbd6fef61505b19989cc327620632e8e7efda2e6e (diff)
parentb6c44f82ffca74cc38cf6039ac9ab3c2c66fd5d6 (diff)
Merge branch 'master' of https://github.com/redpony/cdec
Diffstat (limited to 'mteval/external_scorer.h')
-rw-r--r--mteval/external_scorer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mteval/external_scorer.h b/mteval/external_scorer.h
index a28fb920..85535655 100644
--- a/mteval/external_scorer.h
+++ b/mteval/external_scorer.h
@@ -24,7 +24,8 @@ class ScoreServer {
int c2p[2];
};
-struct ScoreServerManager {
+class ScoreServerManager {
+ public:
static ScoreServer* Instance(const std::string& score_type);
private:
static std::map<std::string, boost::shared_ptr<ScoreServer> > servers_;