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/variant_visitor.hpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'third-party/mapbox/variant_visitor.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