Skip to content

Commit 589a969

Browse files
callumfareAlexeySachkov
authored andcommitted
[SYCL] Fix unused plugin member after #15262 (#15312)
#15262 failed post-commit testing, this should fix it
1 parent 1555a10 commit 589a969

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/source/detail/plugin.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,9 @@ class plugin {
223223
// represents the unique ids of the last device of each platform
224224
// index of this vector corresponds to the index in UrPlatforms vector.
225225
std::vector<int> LastDeviceIds;
226+
#ifdef _WIN32
226227
void *UrLoaderHandle = nullptr;
228+
#endif
227229
UrFuncPtrMapT UrFuncPtrs;
228230
}; // class plugin
229231

0 commit comments

Comments
 (0)