Commit e331996
Fix incompatibility with C++14. (#615)
* Fix incompatibility with C++14.
`std::scoped_lock` is available in C++17. Using it without a feature guard causes compile errors on earlier C++ versions.
* Update include/wil/resource.h
Co-authored-by: Duncan Horn <40036384+dunhor@users.noreply.github.com>
---------
Co-authored-by: Duncan Horn <40036384+dunhor@users.noreply.github.com>1 parent 0bd7bf2 commit e331996
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4987 | 4987 | | |
4988 | 4988 | | |
4989 | 4989 | | |
4990 | | - | |
| 4990 | + | |
4991 | 4991 | | |
4992 | 4992 | | |
4993 | 4993 | | |
| |||
8322 | 8322 | | |
8323 | 8323 | | |
8324 | 8324 | | |
| 8325 | + | |
8325 | 8326 | | |
8326 | 8327 | | |
8327 | 8328 | | |
8328 | 8329 | | |
| 8330 | + | |
8329 | 8331 | | |
8330 | 8332 | | |
8331 | 8333 | | |
| |||
0 commit comments