diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-17 19:40:31 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2018-06-18 12:27:01 +0000 |
| commit | 7fe91fdccab9e61c4dbc12c1c83d2f06e3f266f4 (patch) | |
| tree | ab4f11dc730c386ce76fcbb9e219b233504955e7 /src/object | |
| parent | Run clang-tidy’s modernize-use-equals-default pass. (diff) | |
| download | inkscape-7fe91fdccab9e61c4dbc12c1c83d2f06e3f266f4.tar.gz inkscape-7fe91fdccab9e61c4dbc12c1c83d2f06e3f266f4.zip | |
Run clang-tidy’s modernize-deprecated-headers pass.
This renames most C <*.h> includes into C++ <c*> includes.
Diffstat (limited to 'src/object')
| -rw-r--r-- | src/object/filters/blend.cpp | 2 | ||||
| -rw-r--r-- | src/object/filters/colormatrix.cpp | 2 | ||||
| -rw-r--r-- | src/object/filters/convolvematrix.cpp | 4 | ||||
| -rw-r--r-- | src/object/filters/morphology.cpp | 2 | ||||
| -rw-r--r-- | src/object/filters/sp-filter-primitive.cpp | 2 | ||||
| -rw-r--r-- | src/object/sp-filter.cpp | 2 | ||||
| -rw-r--r-- | src/object/sp-hatch-path.h | 2 | ||||
| -rw-r--r-- | src/object/sp-hatch.h | 2 | ||||
| -rw-r--r-- | src/object/sp-object.h | 2 | ||||
| -rw-r--r-- | src/object/sp-pattern.h | 2 | ||||
| -rw-r--r-- | src/object/sp-tag-use-reference.h | 2 | ||||
| -rw-r--r-- | src/object/sp-tag-use.h | 2 |
12 files changed, 13 insertions, 13 deletions
diff --git a/src/object/filters/blend.cpp b/src/object/filters/blend.cpp index 400520e5b..33fa56506 100644 --- a/src/object/filters/blend.cpp +++ b/src/object/filters/blend.cpp @@ -13,7 +13,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <string.h> +#include <cstring> #include "blend.h" diff --git a/src/object/filters/colormatrix.cpp b/src/object/filters/colormatrix.cpp index 4f4498e32..0017fa0b2 100644 --- a/src/object/filters/colormatrix.cpp +++ b/src/object/filters/colormatrix.cpp @@ -14,7 +14,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <string.h> +#include <cstring> #include "attributes.h" #include "svg/svg.h" diff --git a/src/object/filters/convolvematrix.cpp b/src/object/filters/convolvematrix.cpp index 2466fe396..0f9c993f6 100644 --- a/src/object/filters/convolvematrix.cpp +++ b/src/object/filters/convolvematrix.cpp @@ -13,8 +13,8 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <string.h> -#include <math.h> +#include <cstring> +#include <cmath> #include <vector> #include "convolvematrix.h" diff --git a/src/object/filters/morphology.cpp b/src/object/filters/morphology.cpp index ee7b1eaaa..830240049 100644 --- a/src/object/filters/morphology.cpp +++ b/src/object/filters/morphology.cpp @@ -13,7 +13,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <string.h> +#include <cstring> #include "attributes.h" #include "svg/svg.h" diff --git a/src/object/filters/sp-filter-primitive.cpp b/src/object/filters/sp-filter-primitive.cpp index f418bcb4e..1f314c827 100644 --- a/src/object/filters/sp-filter-primitive.cpp +++ b/src/object/filters/sp-filter-primitive.cpp @@ -17,7 +17,7 @@ #include <config.h> #endif -#include <string.h> +#include <cstring> #include "sp-filter-primitive.h" diff --git a/src/object/sp-filter.cpp b/src/object/sp-filter.cpp index 5668061ba..eaddfdcbf 100644 --- a/src/object/sp-filter.cpp +++ b/src/object/sp-filter.cpp @@ -20,7 +20,7 @@ #include "sp-filter.h" #include <map> -#include <string.h> +#include <cstring> #include <glibmm.h> diff --git a/src/object/sp-hatch-path.h b/src/object/sp-hatch-path.h index ca00ae79d..228628f2e 100644 --- a/src/object/sp-hatch-path.h +++ b/src/object/sp-hatch-path.h @@ -16,7 +16,7 @@ #define SEEN_SP_HATCH_PATH_H #include <list> -#include <stddef.h> +#include <cstddef> #include <glibmm/ustring.h> #include <sigc++/connection.h> diff --git a/src/object/sp-hatch.h b/src/object/sp-hatch.h index fc978a74d..f8baf6bfb 100644 --- a/src/object/sp-hatch.h +++ b/src/object/sp-hatch.h @@ -16,7 +16,7 @@ #define SEEN_SP_HATCH_H #include <list> -#include <stddef.h> +#include <cstddef> #include <glibmm/ustring.h> #include <sigc++/connection.h> diff --git a/src/object/sp-object.h b/src/object/sp-object.h index 3b083761e..cffa28d2f 100644 --- a/src/object/sp-object.h +++ b/src/object/sp-object.h @@ -52,7 +52,7 @@ class SPObject; #define SP_OBJECT_WRITE_NO_CHILDREN (1 << 3) #include <cassert> -#include <stddef.h> +#include <cstddef> #include <sigc++/connection.h> #include <sigc++/functors/slot.h> #include <sigc++/signal.h> diff --git a/src/object/sp-pattern.h b/src/object/sp-pattern.h index dd590280e..4f37e9a2b 100644 --- a/src/object/sp-pattern.h +++ b/src/object/sp-pattern.h @@ -14,7 +14,7 @@ #define SEEN_SP_PATTERN_H #include <list> -#include <stddef.h> +#include <cstddef> #include <glibmm/ustring.h> #include <sigc++/connection.h> diff --git a/src/object/sp-tag-use-reference.h b/src/object/sp-tag-use-reference.h index c7a193d42..50035ab70 100644 --- a/src/object/sp-tag-use-reference.h +++ b/src/object/sp-tag-use-reference.h @@ -9,7 +9,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information. */ -#include <stddef.h> +#include <cstddef> #include <sigc++/sigc++.h> #include <glib.h> diff --git a/src/object/sp-tag-use.h b/src/object/sp-tag-use.h index 122f11efe..4d354f4ce 100644 --- a/src/object/sp-tag-use.h +++ b/src/object/sp-tag-use.h @@ -13,7 +13,7 @@ */ #include <glib.h> -#include <stddef.h> +#include <cstddef> #include <sigc++/sigc++.h> #include "svg/svg-length.h" #include "sp-object.h" |
