aboutsummaryrefslogtreecommitdiff
path: root/third-party/mapbox/variant_visitor.hpp
diff options
context:
space:
mode:
authorJim Flynn <jimfly01@e127806.cambridge.arm.com>2022-06-14 10:58:23 +0100
committerNikhil Raj <nikhil.raj@arm.com>2022-07-08 15:26:05 +0100
commit6217c3d550cc8d677793b3bd5c80e2a1b3ce3bac (patch)
tree2eb16da51a5f3b2da755307b5f119a801748cb6f /third-party/mapbox/variant_visitor.hpp
parent0eba1a250623025bd4ef28a43f804955201ed831 (diff)
downloadarmnn-6217c3d550cc8d677793b3bd5c80e2a1b3ce3bac.tar.gz
IVGCVSW-7024 Add missing license info for reuse lint
Signed-off-by: Jim Flynn <jim.flynn@arm.com> Change-Id: I97dee6982e0a7be01c13e9e803c0997547a39ff1
Diffstat (limited to 'third-party/mapbox/variant_visitor.hpp')
-rw-r--r--third-party/mapbox/variant_visitor.hpp9
1 files changed, 7 insertions, 2 deletions
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> : Fn
using Fn::operator();
template<typename T>
- visitor(T&& fn) : Fn(std::forward<T>(fn)) {}
+ visitor(T&& fn) : Fn(std::forward<T>(fn)) {}
};
template <typename Fn, typename... Fns>
@@ -36,7 +41,7 @@ visitor<typename std::decay<Fns>::type...> make_visitor(Fns&&... fns)
return visitor<typename std::decay<Fns>::type...>
(std::forward<Fns>(fns)...);
}
-
+
} // namespace util
} // namespace mapbox