diff --git a/include/boost/geometry/extensions/nsphere/core/access.hpp b/include/boost/geometry/extensions/nsphere/core/access.hpp index 26548e99fa..502844c9b1 100644 --- a/include/boost/geometry/extensions/nsphere/core/access.hpp +++ b/include/boost/geometry/extensions/nsphere/core/access.hpp @@ -3,6 +3,7 @@ // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. // Copyright (c) 2008-2012 Bruno Lalande, Paris, France. // Copyright (c) 2009-2012 Mateusz Loskot, London, UK. +// Copyright (c) 2024 Adam Wulkiewicz, Lodz, Poland. // This file was modified by Oracle on 2020. // Modifications copyright (c) 2020, Oracle and/or its affiliates. @@ -30,14 +31,14 @@ namespace boost { namespace geometry namespace core_dispatch { -template -struct access +template +struct access { - static inline CoordinateType get(Nsphere const& nsphere) + static inline coordinate_type_t get(Nsphere const& nsphere) { return traits::access::get(nsphere); } - static inline void set(Nsphere& s, CoordinateType const& value) + static inline void set(Nsphere& s, coordinate_type_t const& value) { traits::access::set(s, value); } diff --git a/include/boost/geometry/extensions/nsphere/core/radius.hpp b/include/boost/geometry/extensions/nsphere/core/radius.hpp index 5805d95045..080f1dca9b 100644 --- a/include/boost/geometry/extensions/nsphere/core/radius.hpp +++ b/include/boost/geometry/extensions/nsphere/core/radius.hpp @@ -3,10 +3,10 @@ // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. // Copyright (c) 2008-2012 Bruno Lalande, Paris, France. // Copyright (c) 2009-2012 Mateusz Loskot, London, UK. +// Copyright (c) 2024 Adam Wulkiewicz, Lodz, Poland. // This file was modified by Oracle on 2014-2020. // Modifications copyright (c) 2014-2020 Oracle and/or its affiliates. - // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library @@ -44,7 +44,7 @@ struct radius_type }; template -struct radius_access +struct radius_access : detail::radius_access { BOOST_STATIC_ASSERT((D == 0));