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/pool.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/pool.cc')
-rw-r--r--util/pool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pool.cc b/util/pool.cc
index 429ba1585..e0e4c61f6 100644
--- a/util/pool.cc
+++ b/util/pool.cc
@@ -2,7 +2,7 @@
#include "util/scoped.hh"
-#include <stdlib.h>
+#include <cstdlib>
namespace util {