Fix missing includes after formatting.

This commit is contained in:
Relintai 2021-06-17 14:58:33 +02:00
parent c1d1e107b4
commit 8c3b416d77
4 changed files with 6 additions and 2 deletions

View File

@ -15,6 +15,7 @@
#pragma once
#include <drogon/utils/string_view.h>
#include <string>
#include <memory>
namespace drogon {
class HttpMessageBody {

View File

@ -15,6 +15,7 @@
#include <exception>
#include <functional>
#include <string>
namespace drogon {
namespace nosql {

View File

@ -20,8 +20,7 @@ using namespace drogon::orm;
std::map<std::string, std::string> DbConnection::parseConnString(
const std::string &connInfo) {
const static std::regex re(
R "((\w+) *= *('(?:[^\n]|\\[^\n])+'|(?:\S|\\\S)+))");
const static std::regex re(R"((\w+) *= *('(?:[^\n]|\\[^\n])+'|(?:\S|\\\S)+))");
std::smatch what;
std::map<std::string, std::string> params;
std::string str = connInfo;

View File

@ -15,6 +15,9 @@
#pragma once
#include <algorithm>
#include <vector>
#include <cstdint>
#include <string>
namespace trantor
{
inline uint64_t hton64(uint64_t n)