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/fixed_array.hh
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/fixed_array.hh')
-rw-r--r--util/fixed_array.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/fixed_array.hh b/util/fixed_array.hh
index 416b92f4e..e2aa8ae7d 100644
--- a/util/fixed_array.hh
+++ b/util/fixed_array.hh
@@ -5,8 +5,8 @@
#include <cstddef>
-#include <assert.h>
-#include <stdlib.h>
+#include <cassert>
+#include <cstdlib>
namespace util {