Fixes for gcc 13, clang 16 and C++20
- Avoid use of deprecated
is_pod
- Fix implicit capture of this (deprecated in C++20)
- Remove unused variables
Note that implicit capture of this
via [=]
causes a warning in C++20, but the new way [=,this]
causes a warning in C++17, so we hide the C++17 warning (at some point we will stop supporting C++17).
Edited by Marco Clemencic