Merge "C++17 compatibility: add missing `constexpr`."