diff options
| author | Shlomi Fish <shlomif@shlomifish.org> | 2017-10-19 20:41:01 +0000 |
|---|---|---|
| committer | Shlomi Fish <shlomif@shlomifish.org> | 2019-05-22 12:58:25 +0000 |
| commit | 490152182ab143ca7d4ee06482347bcdd83c40fd (patch) | |
| tree | 5c4d597ca9c9ae390bd244dfcae914a234bcc547 | |
| parent | Fix formatting and trailing space. (diff) | |
| download | inkscape-490152182ab143ca7d4ee06482347bcdd83c40fd.tar.gz inkscape-490152182ab143ca7d4ee06482347bcdd83c40fd.zip | |
Convert to a more portable C++11 check.
This silences a deprecated warning on clang.
| -rw-r--r-- | src/2geom/elliptical-arc-from-sbasis.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/2geom/elliptical-arc-from-sbasis.cpp b/src/2geom/elliptical-arc-from-sbasis.cpp index c536d89ec..f7bddc90d 100644 --- a/src/2geom/elliptical-arc-from-sbasis.cpp +++ b/src/2geom/elliptical-arc-from-sbasis.cpp @@ -304,6 +304,7 @@ bool make_elliptical_arc::make_elliptiarc() Point inner_point = curve(0.5); +#if __cplusplus >= 201100L std::unique_ptr<EllipticalArc> arc( e.arc(initial_point, inner_point, final_point) ); ea = *arc; |
