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/Types.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/Types.h')
-rw-r--r--mert/Types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mert/Types.h b/mert/Types.h
index 1d0fd0dd0..c65c6ffc2 100644
--- a/mert/Types.h
+++ b/mert/Types.h
@@ -1,5 +1,5 @@
-#ifndef TYPE_H
-#define TYPE_H
+#ifndef MERT_TYPE_H_
+#define MERT_TYPE_H_
#include <vector>
#include <map>
@@ -40,4 +40,4 @@ typedef vector<ScoreArray> scoredata_t;
typedef map<size_t, std::string> idx2name;
typedef map<std::string, size_t> name2idx;
-#endif // TYPE_H
+#endif // MERT_TYPE_H_