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:48:20 +0300
committerJeroen Vermeulen <jtv@precisiontranslationtools.com>2015-03-28 15:48:20 +0300
commitdea76752e932295a7b2b27052441af8263e310e0 (patch)
tree1ab5406f8117cd40fe5782b04f30904bfadd3c49 /search/rule.cc
parent88e90957a1b56c98842769947f07d7abee95a8ec (diff)
Modernize "C" includes in search.
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 search/ 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 'search/rule.cc')
-rw-r--r--search/rule.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/search/rule.cc b/search/rule.cc
index 0244a09f7..4d5d430a5 100644
--- a/search/rule.cc
+++ b/search/rule.cc
@@ -5,7 +5,7 @@
#include <ostream>
-#include <math.h>
+#include <cmath>
namespace search {