From 490152182ab143ca7d4ee06482347bcdd83c40fd Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Thu, 19 Oct 2017 23:41:01 +0300 Subject: Convert to a more portable C++11 check. This silences a deprecated warning on clang. --- src/2geom/elliptical-arc-from-sbasis.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 arc( e.arc(initial_point, inner_point, final_point) ); ea = *arc; -- cgit v1.2.3