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-05-02 13:45:24 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-05-02 13:45:24 +0300
commitcc8c6b7b10abd8118014635609f7658f6a7a1857 (patch)
treecab374bcbf73ff97782e9131380e4f32dbeb1e67 /symal/symal.cpp
parenta4a7c14593766ab188e1d6ae1c29e67ed201d412 (diff)
beautify
Diffstat (limited to 'symal/symal.cpp')
-rw-r--r--symal/symal.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/symal/symal.cpp b/symal/symal.cpp
index 7f3e22866..927676393 100644
--- a/symal/symal.cpp
+++ b/symal/symal.cpp
@@ -427,7 +427,7 @@ int main(int argc, char** argv)
ostream *out = &std::cout;
if (input) {
- fstream *fin = new fstream(input,ios::in);
+ fstream *fin = new fstream(input,ios::in);
if (!fin->is_open()) {
cerr << "cannot open " << input << "\n";
exit(1);
@@ -436,7 +436,7 @@ int main(int argc, char** argv)
}
if (output) {
- fstream *fout = new fstream(output,ios::out);
+ fstream *fout = new fstream(output,ios::out);
if (!fout->is_open()) {
cerr << "cannot open " << output << "\n";
exit(1);
@@ -506,12 +506,12 @@ int main(int argc, char** argv)
for (int i=1; i<=MAX_N; i++) delete [] A[i];
delete [] A;
- if (inp != &std::cin) {
- delete inp;
- }
- if (out != &std::cout) {
- delete inp;
- }
+ if (inp != &std::cin) {
+ delete inp;
+ }
+ if (out != &std::cout) {
+ delete inp;
+ }
exit(0);
}