diff options
author | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-03-28 16:20:58 +0300 |
---|---|---|
committer | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-03-28 16:20:58 +0300 |
commit | 536c6e375f57b45956de12e9337d6989a368e86a (patch) | |
tree | 16fae2a9afb5f7767bb70de77c526cf3f2b0cf8c /mert/Permutation.cpp | |
parent | 98e09b14cbc4d06d24f4c976d4c983f3444bbcfe (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/Permutation.cpp')
-rw-r--r-- | mert/Permutation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mert/Permutation.cpp b/mert/Permutation.cpp index a4c74b0d2..b32a1ed0d 100644 --- a/mert/Permutation.cpp +++ b/mert/Permutation.cpp @@ -8,7 +8,7 @@ #include <fstream> #include <sstream> -#include <math.h> +#include <cmath> #include "Permutation.h" #include "Util.h" |