diff --git a/src/page.h b/src/page.h index 904f107..43852d3 100644 --- a/src/page.h +++ b/src/page.h @@ -30,7 +30,7 @@ #include #include #include -#include + #define TMPL_DIR "./templates" #define TMPL_PARIALS_DIR TMPL_DIR "/partials" diff --git a/src/tools.h b/src/tools.h index ad185c1..ba4d153 100644 --- a/src/tools.h +++ b/src/tools.h @@ -31,7 +31,7 @@ #include #include #include - +#include /** * Some helper functions used in the example. @@ -333,7 +333,7 @@ void chunks(Iterator begin, * regular expression */ inline string -remove_bad_chars(string const& in_str, std::regex const& rgx = std::regex {"[^a-zA-Z0-9]"}) +remove_bad_chars(string const& in_str, std::regex const& rgx = std::regex ("[^a-zA-Z0-9]")) { return std::regex_replace(in_str, rgx, ""); }