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/Util.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/Util.cpp')
-rw-r--r-- | moses/Util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Util.cpp b/moses/Util.cpp index 1d1df7d58..a8175b58d 100644 --- a/moses/Util.cpp +++ b/moses/Util.cpp @@ -29,7 +29,7 @@ #include <cstring> #include <cctype> #include <algorithm> -#include <stdio.h> +#include <cstdio> #include <iostream> #include <iomanip> #include <boost/algorithm/string/predicate.hpp> |