summaryrefslogtreecommitdiff
path: root/decoder/hg.h
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-25 21:05:06 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-25 21:05:06 +0000
commitdc78bb0d8590033475404c1950fa49e984e2108a (patch)
tree1a4f138930a0f15cd8826c1d5054bc918ad67831 /decoder/hg.h
parent725ac32757ab6663933e649e8f7dc7052ff7c696 (diff)
USE_INFO_EDGE 0 include
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@412 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/hg.h')
-rw-r--r--decoder/hg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/hg.h b/decoder/hg.h
index c4159999..6dd10584 100644
--- a/decoder/hg.h
+++ b/decoder/hg.h
@@ -7,7 +7,6 @@
// define USE_INFO_EDGE 1 if you want lots of debug info shown with --show_derivations - otherwise it adds quite a bit of overhead if ffs have their logging enabled (e.g. ff_from_fsa)
#define USE_INFO_EDGE 0
#if USE_INFO_EDGE
-# include <sstream>
# define INFO_EDGE(e,msg) do { std::ostringstream &o=(e.info_);o<<msg; } while(0)
# define INFO_EDGEw(e,msg) do { std::ostringstream &o(e.info_);if (o.empty()) o<<' ';o<<msg; } while(0)
#else
@@ -16,6 +15,7 @@
#endif
#define INFO_EDGEln(e,msg) INFO_EDGE(e,msg<<'\n')
+#include <sstream>
#include <string>
#include <vector>
#include <boost/shared_ptr.hpp>