Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Vermeulen <jtv@precisiontranslationtools.com>2015-03-28 15:37:48 +0300
committerJeroen Vermeulen <jtv@precisiontranslationtools.com>2015-03-28 15:37:48 +0300
commit88e90957a1b56c98842769947f07d7abee95a8ec (patch)
tree57404bcfc5371ddbcb3f55399d9e95c5f4bdb9bf /util/exception.cc
parent206d0c969885817521e941eaec879517e39a5b59 (diff)
Modernize "C" includes in util.
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 util/ 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 'util/exception.cc')
-rw-r--r--util/exception.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/exception.cc b/util/exception.cc
index eaf4cbc21..32d48516a 100644
--- a/util/exception.cc
+++ b/util/exception.cc
@@ -4,8 +4,8 @@
#include <typeinfo>
#endif
-#include <errno.h>
-#include <string.h>
+#include <cerrno>
+#include <cstring>
namespace util {