diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/gtk-test.cc | 2 | ||||
-rw-r--r-- | test/perf-test-preview-win.cc | 2 | ||||
-rw-r--r-- | test/perf-test.cc | 16 |
3 files changed, 10 insertions, 10 deletions
diff --git a/test/gtk-test.cc b/test/gtk-test.cc index f103185d..288b0d3f 100644 --- a/test/gtk-test.cc +++ b/test/gtk-test.cc @@ -15,7 +15,7 @@ #include <poppler.h> #include <poppler-private.h> #include <gtk/gtk.h> -#include <math.h> +#include <cmath> static int requested_page = 0; static gboolean cairo_output = FALSE; diff --git a/test/perf-test-preview-win.cc b/test/perf-test-preview-win.cc index 93c73244..905ae289 100644 --- a/test/perf-test-preview-win.cc +++ b/test/perf-test-preview-win.cc @@ -4,7 +4,7 @@ /* This is a preview support for perf-test for Windows */ #include <windows.h> -#include <assert.h> +#include <cassert> #include "SplashBitmap.h" diff --git a/test/perf-test.cc b/test/perf-test.cc index 2b0d9c4e..0dd0304b 100644 --- a/test/perf-test.cc +++ b/test/perf-test.cc @@ -36,14 +36,14 @@ // Not enabled by default. //#define COPY_FILE 1 -#include <assert.h> -#include <stdio.h> -#include <stdarg.h> -#include <ctype.h> -#include <stdlib.h> -#include <string.h> -#include <errno.h> -#include <time.h> +#include <cassert> +#include <cstdio> +#include <cstdarg> +#include <cctype> +#include <cstdlib> +#include <cstring> +#include <cerrno> +#include <ctime> #ifdef HAVE_DIRENT_H #include <dirent.h> |