refactor: correct variable naming

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-12-04 10:51:53 +00:00
committed by Compute-Runtime-Automation
parent 824cdfa585
commit c3d3a4db1f
40 changed files with 216 additions and 218 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Intel Corporation
* Copyright (C) 2022-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -13,9 +13,9 @@
#include <optional>
#include <utility>
template <typename KeyT, typename ValueT, size_t NumElements>
template <typename KeyT, typename ValueT, size_t numElements>
struct LookupArray {
using LookupMapArrayT = std::array<std::pair<KeyT, ValueT>, NumElements>;
using LookupMapArrayT = std::array<std::pair<KeyT, ValueT>, numElements>;
constexpr LookupArray(const LookupMapArrayT &lookupArray) : lookupArray(lookupArray){};
constexpr std::optional<ValueT> find(const KeyT &keyToFind) const {
@@ -34,7 +34,7 @@ struct LookupArray {
}
constexpr size_t size() const {
return NumElements;
return numElements;
}
protected: