From 6217c3d550cc8d677793b3bd5c80e2a1b3ce3bac Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Tue, 14 Jun 2022 10:58:23 +0100 Subject: IVGCVSW-7024 Add missing license info for reuse lint Signed-off-by: Jim Flynn Change-Id: I97dee6982e0a7be01c13e9e803c0997547a39ff1 --- third-party/mapbox/README.md.license | 4 ++++ third-party/mapbox/optional.hpp | 5 +++++ third-party/mapbox/recursive_wrapper.hpp | 5 +++++ third-party/mapbox/variant.hpp | 5 +++++ third-party/mapbox/variant_cast.hpp | 5 +++++ third-party/mapbox/variant_io.hpp | 5 +++++ third-party/mapbox/variant_visitor.hpp | 9 +++++++-- 7 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 third-party/mapbox/README.md.license (limited to 'third-party/mapbox') diff --git a/third-party/mapbox/README.md.license b/third-party/mapbox/README.md.license new file mode 100644 index 0000000000..aba8d376ed --- /dev/null +++ b/third-party/mapbox/README.md.license @@ -0,0 +1,4 @@ +# +# Copyright (c) MapBox 2016. All rights reserved. +# SPDX-License-Identifier: BSD-3-Clause +# \ No newline at end of file diff --git a/third-party/mapbox/optional.hpp b/third-party/mapbox/optional.hpp index d84705c1ac..b9e682ab92 100644 --- a/third-party/mapbox/optional.hpp +++ b/third-party/mapbox/optional.hpp @@ -1,3 +1,8 @@ +// +// Copyright (c) MapBox All rights reserved. +// SPDX-License-Identifier: BSD-3-Clause +// + #ifndef MAPBOX_UTIL_OPTIONAL_HPP #define MAPBOX_UTIL_OPTIONAL_HPP diff --git a/third-party/mapbox/recursive_wrapper.hpp b/third-party/mapbox/recursive_wrapper.hpp index 4ffcbd7c93..8a85d3035c 100644 --- a/third-party/mapbox/recursive_wrapper.hpp +++ b/third-party/mapbox/recursive_wrapper.hpp @@ -1,3 +1,8 @@ +// +// Copyright (c) MapBox All rights reserved. +// SPDX-License-Identifier: BSD-3-Clause +// + #ifndef MAPBOX_UTIL_RECURSIVE_WRAPPER_HPP #define MAPBOX_UTIL_RECURSIVE_WRAPPER_HPP diff --git a/third-party/mapbox/variant.hpp b/third-party/mapbox/variant.hpp index 06a46abe5d..71108572e2 100644 --- a/third-party/mapbox/variant.hpp +++ b/third-party/mapbox/variant.hpp @@ -1,3 +1,8 @@ +// +// Copyright (c) MapBox All rights reserved. +// SPDX-License-Identifier: BSD-3-Clause +// + #ifndef MAPBOX_UTIL_VARIANT_HPP #define MAPBOX_UTIL_VARIANT_HPP diff --git a/third-party/mapbox/variant_cast.hpp b/third-party/mapbox/variant_cast.hpp index fe1ab35432..0795bcf40e 100644 --- a/third-party/mapbox/variant_cast.hpp +++ b/third-party/mapbox/variant_cast.hpp @@ -1,3 +1,8 @@ +// +// Copyright (c) MapBox All rights reserved. +// SPDX-License-Identifier: BSD-3-Clause +// + #ifndef VARIANT_CAST_HPP #define VARIANT_CAST_HPP diff --git a/third-party/mapbox/variant_io.hpp b/third-party/mapbox/variant_io.hpp index 1456cc5abc..7fdb8183e7 100644 --- a/third-party/mapbox/variant_io.hpp +++ b/third-party/mapbox/variant_io.hpp @@ -1,3 +1,8 @@ +// +// Copyright (c) MapBox All rights reserved. +// SPDX-License-Identifier: BSD-3-Clause +// + #ifndef MAPBOX_UTIL_VARIANT_IO_HPP #define MAPBOX_UTIL_VARIANT_IO_HPP diff --git a/third-party/mapbox/variant_visitor.hpp b/third-party/mapbox/variant_visitor.hpp index 54ddba0e1c..a5657d3451 100644 --- a/third-party/mapbox/variant_visitor.hpp +++ b/third-party/mapbox/variant_visitor.hpp @@ -1,3 +1,8 @@ +// +// Copyright (c) MapBox All rights reserved. +// SPDX-License-Identifier: BSD-3-Clause +// + #ifndef MAPBOX_UTIL_VARIANT_VISITOR_HPP #define MAPBOX_UTIL_VARIANT_VISITOR_HPP @@ -15,7 +20,7 @@ struct visitor : Fn using Fn::operator(); template - visitor(T&& fn) : Fn(std::forward(fn)) {} + visitor(T&& fn) : Fn(std::forward(fn)) {} }; template @@ -36,7 +41,7 @@ visitor::type...> make_visitor(Fns&&... fns) return visitor::type...> (std::forward(fns)...); } - + } // namespace util } // namespace mapbox -- cgit v1.2.1