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/live_effects | |
| 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/live_effects')
| -rw-r--r-- | src/live_effects/effect.cpp | 4 | ||||
| -rw-r--r-- | src/live_effects/lpe-attach-path.cpp | 2 | ||||
| -rw-r--r-- | src/live_effects/lpe-bool.cpp | 4 | ||||
| -rw-r--r-- | src/live_effects/lpeobject-reference.cpp | 2 | ||||
| -rw-r--r-- | src/live_effects/parameter/item.h | 2 | ||||
| -rw-r--r-- | src/live_effects/parameter/path.h | 2 | ||||
| -rw-r--r-- | src/live_effects/spiro.cpp | 6 |
7 files changed, 11 insertions, 11 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 6251740d5..1eb08a0e8 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -86,8 +86,8 @@ #include "object/sp-defs.h" #include "object/sp-shape.h" -#include <stdio.h> -#include <string.h> +#include <cstdio> +#include <cstring> #include <pangomm/layout.h> #include <gtkmm/expander.h> diff --git a/src/live_effects/lpe-attach-path.cpp b/src/live_effects/lpe-attach-path.cpp index 9ab832c5e..c50341f79 100644 --- a/src/live_effects/lpe-attach-path.cpp +++ b/src/live_effects/lpe-attach-path.cpp @@ -4,7 +4,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <math.h> +#include <cmath> #include "live_effects/lpe-attach-path.h" #include "display/curve.h" #include "2geom/path-sink.h" diff --git a/src/live_effects/lpe-bool.cpp b/src/live_effects/lpe-bool.cpp index eb8918555..a76463742 100644 --- a/src/live_effects/lpe-bool.cpp +++ b/src/live_effects/lpe-bool.cpp @@ -7,8 +7,8 @@ */ #include <glibmm/i18n.h> -#include <math.h> -#include <string.h> +#include <cmath> +#include <cstring> #include <algorithm> #include "live_effects/lpe-bool.h" diff --git a/src/live_effects/lpeobject-reference.cpp b/src/live_effects/lpeobject-reference.cpp index 14472d001..e430c12f1 100644 --- a/src/live_effects/lpeobject-reference.cpp +++ b/src/live_effects/lpeobject-reference.cpp @@ -8,7 +8,7 @@ #include "live_effects/lpeobject-reference.h" -#include <string.h> +#include <cstring> #include "bad-uri-exception.h" #include "live_effects/lpeobject.h" diff --git a/src/live_effects/parameter/item.h b/src/live_effects/parameter/item.h index dca7f7cb6..1c285fcff 100644 --- a/src/live_effects/parameter/item.h +++ b/src/live_effects/parameter/item.h @@ -14,7 +14,7 @@ #include "live_effects/parameter/parameter.h" #include "live_effects/parameter/item-reference.h" -#include <stddef.h> +#include <cstddef> #include <sigc++/sigc++.h> namespace Inkscape { diff --git a/src/live_effects/parameter/path.h b/src/live_effects/parameter/path.h index 97f97d3dd..5993b54e6 100644 --- a/src/live_effects/parameter/path.h +++ b/src/live_effects/parameter/path.h @@ -14,7 +14,7 @@ #include "live_effects/parameter/parameter.h" #include "live_effects/parameter/path-reference.h" -#include <stddef.h> +#include <cstddef> #include <sigc++/sigc++.h> namespace Inkscape { diff --git a/src/live_effects/spiro.cpp b/src/live_effects/spiro.cpp index a2ff4813e..c0e314a69 100644 --- a/src/live_effects/spiro.cpp +++ b/src/live_effects/spiro.cpp @@ -24,9 +24,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #include "spiro.h" -#include <math.h> -#include <stdlib.h> -#include <string.h> +#include <cmath> +#include <cstdlib> +#include <cstring> #include "display/curve.h" |
