summaryrefslogtreecommitdiff
path: root/mteval/external_scorer.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-06-10 16:20:17 -0400
committerPatrick Simianer <p@simianer.de>2011-09-23 19:13:57 +0200
commit83a6ea9b5a4064a83035b505350618fbf81baeff (patch)
treeda26d11a2ea3d69b318f2099545e3ea189873c96 /mteval/external_scorer.h
parentcad818e83f1bdfeb1930b071b116442a27a38303 (diff)
proper use of pipes
Diffstat (limited to 'mteval/external_scorer.h')
-rw-r--r--mteval/external_scorer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mteval/external_scorer.h b/mteval/external_scorer.h
index 59ece269..a28fb920 100644
--- a/mteval/external_scorer.h
+++ b/mteval/external_scorer.h
@@ -2,7 +2,6 @@
#define _EXTERNAL_SCORER_H_
#include <vector>
-#include <cstdio>
#include <string>
#include <map>
#include <boost/shared_ptr.hpp>
@@ -21,7 +20,8 @@ class ScoreServer {
private:
void RequestResponse(const std::string& request, std::string* response);
- FILE* pipe_;
+ int p2c[2];
+ int c2p[2];
};
struct ScoreServerManager {