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/SentenceStats.h | |
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/SentenceStats.h')
-rw-r--r-- | moses/SentenceStats.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/SentenceStats.h b/moses/SentenceStats.h index c1650eac1..998adc74f 100644 --- a/moses/SentenceStats.h +++ b/moses/SentenceStats.h @@ -25,7 +25,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA #include <iostream> #include <string> #include <vector> -#include <time.h> +#include <ctime> #include "Timer.h" #include "Phrase.h" #include "Hypothesis.h" |