diff options
author | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-03-28 15:48:20 +0300 |
---|---|---|
committer | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-03-28 15:48:20 +0300 |
commit | dea76752e932295a7b2b27052441af8263e310e0 (patch) | |
tree | 1ab5406f8117cd40fe5782b04f30904bfadd3c49 /search/vertex.hh | |
parent | 88e90957a1b56c98842769947f07d7abee95a8ec (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/vertex.hh')
-rw-r--r-- | search/vertex.hh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/search/vertex.hh b/search/vertex.hh index baeae3469..f560dc8c6 100644 --- a/search/vertex.hh +++ b/search/vertex.hh @@ -8,8 +8,7 @@ #include <queue> #include <vector> - -#include <math.h> +#include <cmath> #include <stdint.h> namespace search { |