From 915c8ce814498ff6c331b7b4628f896fff361e81 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 12 Oct 2022 12:08:59 +0200 Subject: Add copyright and license notice to all source and header files Signed-off-by: Goetz Brasche --- src/utils/cpp/vector.hpp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/utils/cpp/vector.hpp') diff --git a/src/utils/cpp/vector.hpp b/src/utils/cpp/vector.hpp index e21f49cc..ce76f9cf 100644 --- a/src/utils/cpp/vector.hpp +++ b/src/utils/cpp/vector.hpp @@ -1,3 +1,17 @@ +// Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef INCLUDED_SRC_UTILS_CPP_VECTOR_HPP #define INCLUDED_SRC_UTILS_CPP_VECTOR_HPP @@ -11,4 +25,4 @@ void sort_and_deduplicate(std::vector* x) { auto it = std::unique(x->begin(), x->end()); x->erase(it, x->end()); } -#endif \ No newline at end of file +#endif -- cgit v1.2.3