diff --git a/headers/ip_to_geo.h b/headers/ip_to_geo.h new file mode 100644 index 0000000..7b9637e --- /dev/null +++ b/headers/ip_to_geo.h @@ -0,0 +1 @@ +#pragma once \ No newline at end of file diff --git a/log_parsing/log_parsing.h b/headers/log_parsing.h similarity index 100% rename from log_parsing/log_parsing.h rename to headers/log_parsing.h diff --git a/ip_to_geo/ip_to_geo.h b/ip_to_geo/ip_to_geo.h deleted file mode 100644 index e69de29..0000000 diff --git a/ip_to_geo/ip_to_geo.cpp b/objects/ip_to_geo.cpp similarity index 100% rename from ip_to_geo/ip_to_geo.cpp rename to objects/ip_to_geo.cpp diff --git a/log_parsing/log_parsing.cpp b/objects/log_parsing.cpp similarity index 98% rename from log_parsing/log_parsing.cpp rename to objects/log_parsing.cpp index 699c4a5..2d24035 100644 --- a/log_parsing/log_parsing.cpp +++ b/objects/log_parsing.cpp @@ -8,7 +8,7 @@ #include "log_parsing.h" -parse::parse(const std::smatch& match) { +parsed_logs::parse(const std::smatch& match) { Entry entry; entry.ip = match[1].str(); entry.timestamp = match[2].str();