Skip to content

Commit 5468371

Browse files
[SYCL][NFC] Fix warnings after compile-time properties implementation (#5684)
Signed-off-by: Steffen Larsen <[email protected]>
1 parent 1c93bfe commit 5468371

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

sycl/include/sycl/ext/oneapi/properties/properties.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ struct ExtractProperties<std::tuple<PropertiesTs...>> {
9696

9797
template <typename... PropertyValueTs>
9898
static ExtractedPropertiesT<PropertyValueTs...>
99-
Extract(std::tuple<PropertyValueTs...> PropertyValues) {
99+
Extract(std::tuple<PropertyValueTs...>) {
100100
return {};
101101
}
102102
};

sycl/include/sycl/ext/oneapi/properties/property_value.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,16 @@ struct property_value
5151
template <typename PropertyT, typename... A, typename... B>
5252
constexpr std::enable_if_t<detail::IsCompileTimeProperty<PropertyT>::value,
5353
bool>
54-
operator==(const property_value<PropertyT, A...> &LHS,
55-
const property_value<PropertyT, B...> &RHS) {
54+
operator==(const property_value<PropertyT, A...> &,
55+
const property_value<PropertyT, B...> &) {
5656
return (std::is_same<A, B>::value && ...);
5757
}
5858

5959
template <typename PropertyT, typename... A, typename... B>
6060
constexpr std::enable_if_t<detail::IsCompileTimeProperty<PropertyT>::value,
6161
bool>
62-
operator!=(const property_value<PropertyT, A...> &LHS,
63-
const property_value<PropertyT, B...> &RHS) {
62+
operator!=(const property_value<PropertyT, A...> &,
63+
const property_value<PropertyT, B...> &) {
6464
return (!std::is_same<A, B>::value || ...);
6565
}
6666

0 commit comments

Comments
 (0)