summaryrefslogtreecommitdiff
path: root/src/utils/cpp/vector.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/cpp/vector.hpp')
-rw-r--r--src/utils/cpp/vector.hpp16
1 files changed, 15 insertions, 1 deletions
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<T>* x) {
auto it = std::unique(x->begin(), x->end());
x->erase(it, x->end());
}
-#endif \ No newline at end of file
+#endif