aboutsummaryrefslogtreecommitdiff
path: root/src/script/text-io.cc
diff options
context:
space:
mode:
authorAlexander Gutkin <agutkin@google.com>2012-09-12 18:11:43 +0100
committerAlexander Gutkin <agutkin@google.com>2012-09-12 18:11:43 +0100
commitdfd8b8327b93660601d016cdc6f29f433b45a8d8 (patch)
tree968ec84b8e32ad73ec18d74334930f36b7471906 /src/script/text-io.cc
parentf4c12fce1ee58e670f9c3fce46c40296ba9ee8a2 (diff)
downloadopenfst-dfd8b8327b93660601d016cdc6f29f433b45a8d8.tar.gz
Updated OpenFST version to openfst-1.3.2-CL32004048 from Greco3.
Change-Id: I19b0db718256b35c0e3e5a7315f1ed6335e6dcac
Diffstat (limited to 'src/script/text-io.cc')
-rw-r--r--src/script/text-io.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/text-io.cc b/src/script/text-io.cc
index 2f5efab..65b4eed 100644
--- a/src/script/text-io.cc
+++ b/src/script/text-io.cc
@@ -67,7 +67,7 @@ bool ReadPotentials(const string &weight_type,
// Writes vector of weights; returns true on success.
bool WritePotentials(const string& filename,
const vector<WeightClass>& potential) {
- ostream *strm = &std::cout;
+ ostream *strm = &cout;
if (!filename.empty()) {
strm = new ofstream(filename.c_str());
if (!*strm) {
@@ -85,7 +85,7 @@ bool WritePotentials(const string& filename,
LOG(ERROR) << "WritePotentials: Write failed: "
<< (filename.empty() ? "standard output" : filename);
bool ret = *strm;
- if (strm != &std::cout)
+ if (strm != &cout)
delete strm;
return ret;
}