add missing stdexcept includes
This commit is contained in:
parent
670bae2585
commit
d995f77b53
5 changed files with 10 additions and 7 deletions
|
@ -12,6 +12,7 @@
|
|||
#include <exception>
|
||||
#include <map>
|
||||
#include <mutex>
|
||||
#include <stdexcept>
|
||||
#include <unordered_map>
|
||||
#include <utility>
|
||||
#include "ad/cppgtfs/gtfs/Feed.h"
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <iostream>
|
||||
#include <regex>
|
||||
#include <sstream>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include <cassert>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdexcept>
|
||||
#include "util/Misc.h"
|
||||
#include "util/String.h"
|
||||
#include "util/geo/Box.h"
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include <algorithm>
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
#include <stdexcept>
|
||||
#include <thread>
|
||||
#include <unordered_map>
|
||||
#ifdef ZLIB_FOUND
|
||||
|
@ -108,8 +109,7 @@ void HttpServer::handle() {
|
|||
answ = Answer(err.what(), err.what());
|
||||
} catch (...) {
|
||||
// catch everything to make sure the server continues running
|
||||
answ = Answer(
|
||||
"500 Internal Server Error", "500 Internal Server Error");
|
||||
answ = Answer("500 Internal Server Error", "500 Internal Server Error");
|
||||
}
|
||||
|
||||
send(connection, &answ);
|
||||
|
|
Loading…
Reference in a new issue