Commit 63cea09
committed
Removed use of std::move in DPCTLDeviceMgr_GetCachedContext
Use of std::move destroys the context saved in the cache,
negating existance of this cache, but also setting the code up
for possible silent failures.1 parent 6efb2c9 commit 63cea09
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
0 commit comments