diff options
author | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-03-28 16:09:03 +0300 |
---|---|---|
committer | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-03-28 16:09:03 +0300 |
commit | a9c8f4489662efcf8825f6bb1a3a8b61c44e7f93 (patch) | |
tree | f3d25bb5ef4fbd17343327e02053dd640a5c1fa6 /moses/ChartManager.cpp | |
parent | 9852a0c2ffcac0f7ad93d249f3b9ecd0c5fcf3f9 (diff) |
Modernize "C" includes in moses.
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 moses/ 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 'moses/ChartManager.cpp')
-rw-r--r-- | moses/ChartManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ChartManager.cpp b/moses/ChartManager.cpp index aa550e48b..d6846d6df 100644 --- a/moses/ChartManager.cpp +++ b/moses/ChartManager.cpp @@ -19,7 +19,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ***********************************************************************/ -#include <stdio.h> +#include <cstdio> #include "ChartManager.h" #include "ChartCell.h" #include "ChartHypothesis.h" |