Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-10-03 14:17:02 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-10-16 22:03:22 +0300
commit73217dd0087c06d226b08f7da59e89221ea473bc (patch)
treef295aa9dbc4d085b718791bfdd50e6dcd8d15bac /moses/Manager.cpp
parentdd2bf5d9f3c8430eaaf3c2e9b730b93d43022786 (diff)
use util::StringStream
Diffstat (limited to 'moses/Manager.cpp')
-rw-r--r--moses/Manager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/Manager.cpp b/moses/Manager.cpp
index f5168f244..a862ebe3d 100644
--- a/moses/Manager.cpp
+++ b/moses/Manager.cpp
@@ -56,6 +56,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#include "util/exception.hh"
#include "util/random.hh"
+#include "util/string_stream.hh"
using namespace std;
@@ -1971,7 +1972,7 @@ void Manager::OutputSearchGraphSLF() const
// Output search graph in HTK standard lattice format (SLF)
bool slf = staticData.GetOutputSearchGraphSLF();
if (slf) {
- stringstream fileName;
+ util::StringStream fileName;
string dir;
staticData.GetParameter().SetParameter<string>(dir, "output-search-graph-slf", "");