Skip to content

Commit 09d30a2

Browse files
authored
[SYCL] Fix unused plugin member after #15262 (#15312)
#15262 failed post-commit testing, this should fix it
1 parent 39cd4f3 commit 09d30a2

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
@@ -221,7 +221,9 @@ class plugin {
221221
// represents the unique ids of the last device of each platform
222222
// index of this vector corresponds to the index in UrPlatforms vector.
223223
std::vector<int> LastDeviceIds;
224+
#ifdef _WIN32
224225
void *UrLoaderHandle = nullptr;
226+
#endif
225227
UrFuncPtrMapT UrFuncPtrs;
226228
}; // class plugin
227229

0 commit comments

Comments
 (0)