From 6fa57a1dacdc985ebadc0294805f299856fa7bad Mon Sep 17 00:00:00 2001 From: Jeroen Vermeulen Date: Sat, 28 Mar 2015 21:00:30 +0700 Subject: [PATCH] Modernize "C" includes in biconcor. 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 biconcor/ subdirectory. C++11 adds cstdint, but to support compilation with the previous standard, that change is left for later. --- biconcor/Alignment.cpp | 2 +- biconcor/Mismatch.cpp | 2 +- biconcor/PhrasePairCollection.cpp | 2 +- biconcor/SuffixArray.cpp | 2 +- biconcor/TargetCorpus.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/biconcor/Alignment.cpp b/biconcor/Alignment.cpp index 814802531..a18775c1f 100644 --- a/biconcor/Alignment.cpp +++ b/biconcor/Alignment.cpp @@ -2,7 +2,7 @@ #include #include -#include +#include #include namespace diff --git a/biconcor/Mismatch.cpp b/biconcor/Mismatch.cpp index c3afec781..8e029bf19 100644 --- a/biconcor/Mismatch.cpp +++ b/biconcor/Mismatch.cpp @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include "SuffixArray.h" #include "TargetCorpus.h" diff --git a/biconcor/PhrasePairCollection.cpp b/biconcor/PhrasePairCollection.cpp index dd21faad3..540aaac6f 100644 --- a/biconcor/PhrasePairCollection.cpp +++ b/biconcor/PhrasePairCollection.cpp @@ -1,6 +1,6 @@ #include "PhrasePairCollection.h" -#include +#include #include #include diff --git a/biconcor/SuffixArray.cpp b/biconcor/SuffixArray.cpp index f4122a2d8..9566ede99 100644 --- a/biconcor/SuffixArray.cpp +++ b/biconcor/SuffixArray.cpp @@ -2,7 +2,7 @@ #include #include -#include +#include #include namespace diff --git a/biconcor/TargetCorpus.cpp b/biconcor/TargetCorpus.cpp index 06468007f..da35801c8 100644 --- a/biconcor/TargetCorpus.cpp +++ b/biconcor/TargetCorpus.cpp @@ -2,7 +2,7 @@ #include #include -#include +#include #include namespace