diff --git a/src/main.cpp b/src/main.cpp index 78cecb0..0a7b8bd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6,7 +6,7 @@ #include #include #include -#include "requester.hpp" +#include #include "compiler.hpp" sc::logger logger {"curly", sc::loglevel::info}; @@ -54,7 +54,8 @@ int main(int argc, char* argv[]) { // here when no file args std::string base_url {"https://bobpolis.com/krul/"}; std::string next_url {"start.txt"}; - requester req; + sc::requester req; + req.logger(&logger); while (!done) { std::istringstream in {req.get(base_url + next_url)}; next_url = proc.eval(in, done);