mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
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.
This commit is contained in:
parent
a9c8f44896
commit
98e09b14cb
@ -10,7 +10,7 @@
|
||||
|
||||
#include "moses/TranslationModel/ProbingPT/quering.hh"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user