diff options
author | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-03-28 16:18:39 +0300 |
---|---|---|
committer | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-03-28 16:18:39 +0300 |
commit | 98e09b14cbc4d06d24f4c976d4c983f3444bbcfe (patch) | |
tree | 361dbdfadb8194b4586133e62bad9c229f9a074e /misc | |
parent | a9c8f4489662efcf8825f6bb1a3a8b61c44e7f93 (diff) |
Modernize "C" includes in misc.
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 misc/ 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 'misc')
-rw-r--r-- | misc/QueryProbingPT.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/QueryProbingPT.cpp b/misc/QueryProbingPT.cpp index b7226e5ac..72fd0be11 100644 --- a/misc/QueryProbingPT.cpp +++ b/misc/QueryProbingPT.cpp @@ -10,7 +10,7 @@ #include "moses/TranslationModel/ProbingPT/quering.hh" -#include <stdio.h> +#include <cstdio> #include <sys/types.h> #include <sys/stat.h> |