changed my file structure to be headers and objects
This commit is contained in:
1
headers/ip_to_geo.h
Normal file
1
headers/ip_to_geo.h
Normal file
@@ -0,0 +1 @@
|
|||||||
|
#pragma once
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
#include "log_parsing.h"
|
#include "log_parsing.h"
|
||||||
|
|
||||||
parse::parse(const std::smatch& match) {
|
parsed_logs::parse(const std::smatch& match) {
|
||||||
Entry entry;
|
Entry entry;
|
||||||
entry.ip = match[1].str();
|
entry.ip = match[1].str();
|
||||||
entry.timestamp = match[2].str();
|
entry.timestamp = match[2].str();
|
||||||
Reference in New Issue
Block a user