diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-02-20 04:46:08 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-02-20 04:46:08 +0400 |
commit | 47ac8a474d2746d59615fff0e42819295d6fa195 (patch) | |
tree | 785d87fe7782013bc6ced3e08a0a61ce6247338d /mert/Point.h | |
parent | 82da44b030fd09c6923afc16ce0fcae9d7649782 (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/Point.h')
-rw-r--r-- | mert/Point.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mert/Point.h b/mert/Point.h index 55d173215..79d7bca52 100644 --- a/mert/Point.h +++ b/mert/Point.h @@ -1,5 +1,5 @@ -#ifndef POINT_H -#define POINT_H +#ifndef MERT_POINT_H_ +#define MERT_POINT_H_ #include <fstream> #include <map> @@ -100,4 +100,4 @@ public: void SetScore(statscore_t score) { score_ = score; } }; -#endif // POINT_H +#endif // MERT_POINT_H |