Merge pull request #319 from kiwix/fix-missing-stdexcept-include

Include stdexcept to fix GCC v10 compilation
This commit is contained in:
Kelson 2020-02-01 17:20:53 +01:00 committed by GitHub
commit b65b90d78c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#include <map> #include <map>
#include <pthread.h> #include <pthread.h>
#include <memory> #include <memory>
#include <stdexcept>
namespace kiwix namespace kiwix
{ {

View File

@ -25,6 +25,7 @@
#include <memory> #include <memory>
#include <map> #include <map>
#include <stdexcept>
#include <pthread.h> #include <pthread.h>
std::map<std::string, std::shared_ptr<icu::RegexPattern>> regexCache; std::map<std::string, std::shared_ptr<icu::RegexPattern>> regexCache;