We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1953dcf commit 7a84121Copy full SHA for 7a84121
sycl/tools/sycl-ls/sycl-ls.cpp
@@ -187,7 +187,7 @@ static void printWarningIfFiltersUsed(bool &SuppressNumberPrinting) {
187
// Unset filter related environment variables namely, SYCL_DEVICE_FILTER,
188
// ONEAPI_DEVICE_SELECTOR, and SYCL_DEVICE_ALLOWLIST.
189
static void unsetFilterEnvVars() {
190
- for (auto it : FilterEnvVars) {
+ for (const auto &it : FilterEnvVars) {
191
#ifdef _WIN32
192
_putenv_s(it.c_str(), "");
193
#else
0 commit comments