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:
authorTetsuo Kiso <tetsuo-s@is.naist.jp>2012-02-20 04:46:08 +0400
committerTetsuo Kiso <tetsuo-s@is.naist.jp>2012-02-20 04:46:08 +0400
commit47ac8a474d2746d59615fff0e42819295d6fa195 (patch)
tree785d87fe7782013bc6ced3e08a0a61ce6247338d /mert/ScoreArray.h
parent82da44b030fd09c6923afc16ce0fcae9d7649782 (diff)
Change the naming conventions for the guard macros; Rename TER directory.
This change might be useful to avoid duplicating the names. The reason is that although MERT programs are standalone applications, some header files such as data.h and point.h have common guard macro names like "DATA_H" and "POINT_H", and this is not good naming conventions when you want to include external headers. Some files actually include headers in Moses and KenLM's util.
Diffstat (limited to 'mert/ScoreArray.h')
-rw-r--r--mert/ScoreArray.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mert/ScoreArray.h b/mert/ScoreArray.h
index d07351dc1..5b84e020f 100644
--- a/mert/ScoreArray.h
+++ b/mert/ScoreArray.h
@@ -6,8 +6,8 @@
*
*/
-#ifndef SCORE_ARRAY_H
-#define SCORE_ARRAY_H
+#ifndef MERT_SCORE_ARRAY_H_
+#define MERT_SCORE_ARRAY_H_
using namespace std;
@@ -108,4 +108,4 @@ public:
bool check_consistency() const;
};
-#endif // SCORE_ARRAY_H
+#endif // MERT_SCORE_ARRAY_H_