add missing stdexcept includes

This commit is contained in:
Patrick Brosi 2019-02-11 12:37:07 +01:00
parent 670bae2585
commit d995f77b53
5 changed files with 10 additions and 7 deletions

View file

@ -12,6 +12,7 @@
#include <exception>
#include <map>
#include <mutex>
#include <stdexcept>
#include <unordered_map>
#include <utility>
#include "ad/cppgtfs/gtfs/Feed.h"

View file

@ -6,6 +6,7 @@
#include <iostream>
#include <regex>
#include <sstream>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>

View file

@ -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"

View file

@ -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);