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:
authorJeroen Vermeulen <jtv@precisiontranslationtools.com>2015-03-28 16:20:58 +0300
committerJeroen Vermeulen <jtv@precisiontranslationtools.com>2015-03-28 16:20:58 +0300
commit536c6e375f57b45956de12e9337d6989a368e86a (patch)
tree16fae2a9afb5f7767bb70de77c526cf3f2b0cf8c /mert/PermutationScorer.h
parent98e09b14cbc4d06d24f4c976d4c983f3444bbcfe (diff)
Modernize "C" includes in mert.
This is one of those little chores in managing a long-lived C++ project: standard C headers like stdio.h and math.h now have their own place in the C++ standard as resp. cstdio, cmath, and so on. In this branch the #include names are updated for the mert/ subdirectory; more branches to follow. C++11 adds cstdint, but to support compilation with the previous standard, that change is left for later.
Diffstat (limited to 'mert/PermutationScorer.h')
-rw-r--r--mert/PermutationScorer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mert/PermutationScorer.h b/mert/PermutationScorer.h
index 500ef0d8f..33af627c5 100644
--- a/mert/PermutationScorer.h
+++ b/mert/PermutationScorer.h
@@ -10,7 +10,7 @@
#include <stdexcept>
#include <string>
#include <vector>
-#include <limits.h>
+#include <climits>
#include "Types.h"
#include "ScoreData.h"
#include "Scorer.h"