diff options
author | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-04-29 16:10:48 +0300 |
---|---|---|
committer | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-04-29 16:10:48 +0300 |
commit | 89feae68f638faeaeef11b5b0a5214dc7a55a9c4 (patch) | |
tree | 6b539689d5e7fbb60c4fe1a6995b15d3873beb24 /mgizapp/src/model3.h | |
parent | bf45a9986a7d0d828dd6824fef757c7941052220 (diff) |
Update C++ style for including C headers.
This replaces "#include <limits.h>" with "#include <climits>", and so on.
Not a high-value change, but if it makes the code feel more modern and
more pleasant to work with, it'll pay off in the long run.
Diffstat (limited to 'mgizapp/src/model3.h')
-rw-r--r-- | mgizapp/src/model3.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mgizapp/src/model3.h b/mgizapp/src/model3.h index c3e7d28..33e7dd1 100644 --- a/mgizapp/src/model3.h +++ b/mgizapp/src/model3.h @@ -21,7 +21,7 @@ */ #ifndef _model3_h #define _model3_h 1 -#include <assert.h> +#include <cassert> #include <iostream> #include <algorithm> #include <functional> @@ -36,9 +36,9 @@ using __gnu_cxx::hash_map; #include <hash_map> #endif -#include <time.h> +#include <ctime> #include <fstream> -#include <math.h> +#include <cmath> #include "MoveSwapMatrix.h" #include "TTables.h" #include "ATables.h" |