Skip to content

Commit

Permalink
pragma once
Browse files Browse the repository at this point in the history
  • Loading branch information
odashi committed Dec 22, 2015
1 parent aab5220 commit 2f25f20
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 30 deletions.
5 changes: 1 addition & 4 deletions src/include/mteval/BLEUEvaluator.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef MTEVAL_BLEU_EVALUATOR_H_
#define MTEVAL_BLEU_EVALUATOR_H_
#pragma once

#include <mteval/Evaluator.h>

Expand Down Expand Up @@ -40,5 +39,3 @@ class BLEUEvaluator : public Evaluator {

} // namespace MTEval

#endif // MTEVAL_BLEU_EVALUATOR_H_

5 changes: 1 addition & 4 deletions src/include/mteval/Dictionary.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef MTEVAL_DICTIONARY_H_
#define MTEVAL_DICTIONARY_H_
#pragma once

#include <mteval/utils.h>

Expand Down Expand Up @@ -27,5 +26,3 @@ class Dictionary {

} // namespace MTEval

#endif // MTEval_DICTIONARY_H_

5 changes: 1 addition & 4 deletions src/include/mteval/Evaluator.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef MTEVAL_EVALUATOR_H_
#define MTEVAL_EVALUATOR_H_
#pragma once

#include <mteval/utils.h>

Expand Down Expand Up @@ -37,5 +36,3 @@ class Evaluator {

} // namespace MTEVal

#endif // MTEVAL_EVALUATOR_H_

4 changes: 1 addition & 3 deletions src/include/mteval/EvaluatorFactory.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef MTEVAL_EVALUATOR_FACTORY_H_
#define MTEVAL_EVALUATOR_FACTORY_H_
#pragma once

#include <mteval/Evaluator.h>

Expand All @@ -22,4 +21,3 @@ class EvaluatorFactory {

} // namespace MTEval

#endif // MTEVAL_EVALUATOR_FACTORY_H_
5 changes: 1 addition & 4 deletions src/include/mteval/NISTEvaluator.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef MTEVAL_NIST_EVALUATOR_H_
#define MTEVAL_NIST_EVALUATOR_H_
#pragma once

#include <mteval/Evaluator.h>

Expand Down Expand Up @@ -42,5 +41,3 @@ class NISTEvaluator : public Evaluator {

} // namespace MTEval

#endif // MTEVAL_NIST_EVALUATOR_H_

5 changes: 1 addition & 4 deletions src/include/mteval/RIBESEvaluator.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef MTEVAL_RIBES_EVALUATOR_H_
#define MTEVAL_RIBES_EVALUATOR_H_
#pragma once

#include <mteval/Evaluator.h>

Expand Down Expand Up @@ -36,5 +35,3 @@ class RIBESEvaluator : public Evaluator {

} // namespace MTEval

#endif // MTEVAL_RIBES_EVALUATOR_H_

5 changes: 1 addition & 4 deletions src/include/mteval/WEREvaluator.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef MTEVAL_WER_EVALUATOR_H_
#define MTEVAL_WER_EVALUATOR_H_
#pragma once

#include <mteval/Evaluator.h>

Expand Down Expand Up @@ -32,5 +31,3 @@ class WEREvaluator : public Evaluator {

} // namespace MTEval

#endif // MTEVAL_WER_EVALUATOR_H_

4 changes: 1 addition & 3 deletions src/include/mteval/utils.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef MTEVAL_UTILS_H_
#define MTEVAL_UTILS_H_
#pragma once

#include <fstream>
#include <memory>
Expand Down Expand Up @@ -31,4 +30,3 @@ class Utility {

} // namespace MTEval

#endif // MTEVAL_UTILS_H_

0 comments on commit 2f25f20

Please sign in to comment.