diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-05-07 17:59:37 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-05-07 17:59:37 +0400 |
commit | 245be8f63d728ac63f645830221ad7d52a93b466 (patch) | |
tree | 4ad2cd085cfcba5efb403a71d56c50aa88a70b59 /scripts/ems | |
parent | 85c91b87daf036d05b25b17fd5a4c006f2f9050f (diff) |
Move/add #pragma once properly.
Diffstat (limited to 'scripts/ems')
-rw-r--r-- | scripts/ems/biconcor/Alignment.h | 3 | ||||
-rw-r--r-- | scripts/ems/biconcor/Mismatch.h | 3 | ||||
-rw-r--r-- | scripts/ems/biconcor/PhrasePair.h | 3 | ||||
-rw-r--r-- | scripts/ems/biconcor/PhrasePairCollection.h | 4 | ||||
-rw-r--r-- | scripts/ems/biconcor/SuffixArray.h | 3 | ||||
-rw-r--r-- | scripts/ems/biconcor/TargetCorpus.h | 3 | ||||
-rw-r--r-- | scripts/ems/biconcor/base64.h | 2 |
7 files changed, 11 insertions, 10 deletions
diff --git a/scripts/ems/biconcor/Alignment.h b/scripts/ems/biconcor/Alignment.h index 38e4dab17..03e1782f1 100644 --- a/scripts/ems/biconcor/Alignment.h +++ b/scripts/ems/biconcor/Alignment.h @@ -1,8 +1,7 @@ -#include "Vocabulary.h" - #pragma once #define LINE_MAX_LENGTH 10000 +#include "Vocabulary.h" class Alignment { diff --git a/scripts/ems/biconcor/Mismatch.h b/scripts/ems/biconcor/Mismatch.h index f9ea0b1b2..118762239 100644 --- a/scripts/ems/biconcor/Mismatch.h +++ b/scripts/ems/biconcor/Mismatch.h @@ -1,3 +1,5 @@ +#pragma once + #include <string> #include <stdlib.h> #include <cstring> @@ -7,7 +9,6 @@ #include "SuffixArray.h" #include "TargetCorpus.h" #include "Alignment.h" -#pragma once using namespace std; diff --git a/scripts/ems/biconcor/PhrasePair.h b/scripts/ems/biconcor/PhrasePair.h index a96943661..861a09bcf 100644 --- a/scripts/ems/biconcor/PhrasePair.h +++ b/scripts/ems/biconcor/PhrasePair.h @@ -1,3 +1,5 @@ +#pragma once + #include <string> #include <stdlib.h> #include <cstring> @@ -7,7 +9,6 @@ #include "SuffixArray.h" #include "TargetCorpus.h" #include "Alignment.h" -#pragma once using namespace std; diff --git a/scripts/ems/biconcor/PhrasePairCollection.h b/scripts/ems/biconcor/PhrasePairCollection.h index b2473515e..913030167 100644 --- a/scripts/ems/biconcor/PhrasePairCollection.h +++ b/scripts/ems/biconcor/PhrasePairCollection.h @@ -1,3 +1,5 @@ +#pragma once + #include "Vocabulary.h" #include "SuffixArray.h" #include "TargetCorpus.h" @@ -5,8 +7,6 @@ #include "PhrasePair.h" #include "Mismatch.h" -#pragma once - class PhrasePairCollection { public: diff --git a/scripts/ems/biconcor/SuffixArray.h b/scripts/ems/biconcor/SuffixArray.h index fc5ad7c1c..2b8f9b7ff 100644 --- a/scripts/ems/biconcor/SuffixArray.h +++ b/scripts/ems/biconcor/SuffixArray.h @@ -1,9 +1,8 @@ -#include "Vocabulary.h" - #pragma once #define LINE_MAX_LENGTH 10000 +#include "Vocabulary.h" class SuffixArray { diff --git a/scripts/ems/biconcor/TargetCorpus.h b/scripts/ems/biconcor/TargetCorpus.h index 557b1fc4e..40c59b947 100644 --- a/scripts/ems/biconcor/TargetCorpus.h +++ b/scripts/ems/biconcor/TargetCorpus.h @@ -1,8 +1,7 @@ -#include "Vocabulary.h" - #pragma once #define LINE_MAX_LENGTH 10000 +#include "Vocabulary.h" class TargetCorpus { diff --git a/scripts/ems/biconcor/base64.h b/scripts/ems/biconcor/base64.h index 65d5db8b2..20398dd37 100644 --- a/scripts/ems/biconcor/base64.h +++ b/scripts/ems/biconcor/base64.h @@ -1,3 +1,5 @@ +#pragma once + #include <string> std::string base64_encode(unsigned char const* , unsigned int len); |