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:
authorKenneth Heafield <github@kheafield.com>2012-06-28 18:58:59 +0400
committerKenneth Heafield <github@kheafield.com>2012-06-28 18:58:59 +0400
commitc7e02eb67743b31f4cfab752c60fe96f8e2ae630 (patch)
treee25d3c43e239e02ae3adff5262b8f674decb826a /util/ersatz_progress.hh
parentf6b3354f396f8d90e273a3a8255b68cfd5f33f70 (diff)
KenLM e3b5c55910 including rest costs for probing
Diffstat (limited to 'util/ersatz_progress.hh')
-rw-r--r--util/ersatz_progress.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/ersatz_progress.hh b/util/ersatz_progress.hh
index 92c345fee..f709dc516 100644
--- a/util/ersatz_progress.hh
+++ b/util/ersatz_progress.hh
@@ -1,7 +1,7 @@
#ifndef UTIL_ERSATZ_PROGRESS__
#define UTIL_ERSATZ_PROGRESS__
-#include <iosfwd>
+#include <iostream>
#include <string>
// Ersatz version of boost::progress so core language model doesn't depend on
@@ -14,7 +14,7 @@ class ErsatzProgress {
ErsatzProgress();
// Null means no output. The null value is useful for passing along the ostream pointer from another caller.
- ErsatzProgress(std::ostream *to, const std::string &message, std::size_t complete);
+ explicit ErsatzProgress(std::size_t complete, std::ostream *to = &std::cerr, const std::string &message = "");
~ErsatzProgress();