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/TerScorer.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/TerScorer.h')
-rw-r--r-- | mert/TerScorer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mert/TerScorer.h b/mert/TerScorer.h index 7ffb4c741..46b02924e 100644 --- a/mert/TerScorer.h +++ b/mert/TerScorer.h @@ -1,5 +1,5 @@ -#ifndef __TERSCORER_H__ -#define __TERSCORER_H__ +#ifndef MERT_TER_SCORER_H_ +#define MERT_TER_SCORER_H_ #include <iostream> #include <set> @@ -54,4 +54,4 @@ private: TerScorer& operator=(const TerScorer&); }; -#endif // __TERSCORER_H__ +#endif // MERT_TER_SCORER_H_ |