summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/basic_hash.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ocl/basic_hash.hpp')
-rw-r--r--include/ocl/basic_hash.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/ocl/basic_hash.hpp b/include/ocl/basic_hash.hpp
index e90198d..b1771f7 100644
--- a/include/ocl/basic_hash.hpp
+++ b/include/ocl/basic_hash.hpp
@@ -1,4 +1,5 @@
-// Copyright 2023-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Official repository: https://github.com/ocl-foss-org/core
@@ -13,11 +14,11 @@ namespace ocl
{
/// \brief Hash helper.
- template <class T>
+ template <class Type>
struct basic_hash
{
- using result_type = typename T::result_type;
- using type = T;
+ using result_type = typename Type::result_type;
+ using type = Type;
// AMLALE: If it throws, we can't compute the hash correctly.
constexpr result_type hash() noexcept