aboutsummaryrefslogtreecommitdiff
path: root/third-party/mapbox/variant_visitor.hpp
diff options
context:
space:
mode:
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