diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2011-06-10 16:20:17 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2011-06-10 16:20:17 -0400 |
commit | 5fb86e4236cbca8285f2df6e10f44098afbf8dc0 (patch) | |
tree | ccb14d5f0f16cd66860c870b692433396a35479f /mteval/external_scorer.h | |
parent | 572f12ba11cee5ca55f292a89d4c5130f8b261eb (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 { |