Add namespace

This commit is contained in:
Pablu23
2024-07-11 18:34:11 +02:00
parent e9a7062c07
commit 87b717545b
10 changed files with 34 additions and 12 deletions

View File

@@ -1,6 +1,8 @@
#include "path.hpp"
#include <optional>
using namespace http;
Path::Path(std::string path) {
int pos = path.find("?");
m_base = path.substr(0, pos);