Add <locale> to be spec-compliant for std::isalnum (didn't work on MSVC). (#385)

This commit is contained in:
Martijn Courteaux 2023-02-11 05:47:48 +01:00 committed by GitHub
parent 58daccc945
commit 799ee0e3e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,7 @@ THE SOFTWARE.
#include <utility> #include <utility>
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
#include <locale>
#ifdef CXXOPTS_NO_EXCEPTIONS #ifdef CXXOPTS_NO_EXCEPTIONS
#include <iostream> #include <iostream>