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 <fishandfrolick@gmail.com>2013-06-10 21:11:55 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2013-06-10 21:11:55 +0400
commitabe6bb7c2257cce6ed746e54fdd97fbf1f1ef3aa (patch)
tree5cff23f9434a2bd500ee55c4839e753cc119388c /mert/Fdstream.h
parent96d116dba09f4c29fbbfa1edd3d52a31a4b74b49 (diff)
refactor parsing of feature functiona args
Diffstat (limited to 'mert/Fdstream.h')
-rw-r--r--mert/Fdstream.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/mert/Fdstream.h b/mert/Fdstream.h
index c59052f02..5c549587e 100644
--- a/mert/Fdstream.h
+++ b/mert/Fdstream.h
@@ -20,8 +20,8 @@ class _fdstream
{
protected:
_fdstream() :
- _file_descriptor(-1), _filebuf(NULL)
- { }
+ _file_descriptor(-1), _filebuf(NULL) {
+ }
_fdstream(int file_descriptor, std::ios_base::openmode openmode) :
_file_descriptor(file_descriptor), _openmode(openmode) {
@@ -59,8 +59,8 @@ class ifdstream : public _fdstream
{
public:
ifdstream() :
- _fdstream(), _stream(NULL)
- { }
+ _fdstream(), _stream(NULL) {
+ }
ifdstream(int file_descriptor) :
_fdstream(file_descriptor, std::ios_base::in) {
@@ -116,8 +116,8 @@ class ofdstream : public _fdstream
{
public:
ofdstream() :
- _fdstream(), _stream(NULL)
- { }
+ _fdstream(), _stream(NULL) {
+ }
ofdstream(int file_descriptor) :
_fdstream(file_descriptor, std::ios_base::out) {