diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2011-06-10 16:20:17 -0400 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2011-09-23 19:13:57 +0200 |
commit | 83a6ea9b5a4064a83035b505350618fbf81baeff (patch) | |
tree | da26d11a2ea3d69b318f2099545e3ea189873c96 /mteval/external_scorer.h | |
parent | cad818e83f1bdfeb1930b071b116442a27a38303 (diff) |
proper use of pipes
Diffstat (limited to 'mteval/external_scorer.h')
-rw-r--r-- | mteval/external_scorer.h | 4 |
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 { |