pbrt-v4
pbrt-v4 copied to clipboard
Suppress a deprecation warning.
The solution for the warning in string.cpp will only arrive in C++26.
This (understandably) makes MSVC unhappy: https://github.com/mmp/pbrt-v4/actions/runs/18743826647/job/53466275265?pr=518. Can you update so that it's gcc/clang-only?
Not tested with MSVC, I hope this works.