Skip to content

Commit e26f8f7

Browse files
committed
Fix post-commit after PR #3826
1 parent ce1c5a4 commit e26f8f7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sycl/source/detail/allowlist.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,12 @@ AllowListParsedT parseAllowList(const std::string &AllowListRaw) {
239239
// Checking if we can allow device with device description DeviceDesc
240240
bool deviceIsAllowed(const DeviceDescT &DeviceDesc,
241241
const AllowListParsedT &AllowListParsed) {
242-
for (const auto &SupportedKeyName : SupportedAllowListKeyNames)
242+
for (const auto &SupportedKeyName : SupportedAllowListKeyNames) {
243+
(void)SupportedKeyName;
243244
assert((DeviceDesc.find(SupportedKeyName) != DeviceDesc.end()) &&
244245
"DeviceDesc map should have all supported keys for "
245246
"SYCL_DEVICE_ALLOWLIST.");
247+
}
246248
auto EqualityComp = [&](const std::string &KeyName,
247249
const DeviceDescT &AllowListDeviceDesc) {
248250
// change to map::contains after switching DPC++ RT to C++20

0 commit comments

Comments
 (0)