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 | 9075eb00e694b0ccdd8b2569d1c011cb63df8f2e (patch) | |
tree | ccb14d5f0f16cd66860c870b692433396a35479f /mteval/external_scorer.h | |
parent | d820201b631c41db7376fc6abe0007a2e1e4acf0 (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 { |