From 5fb5b34f5c2f5d0a3210708c04779367b1072c32 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Wed, 4 Jan 2023 15:25:40 +0100 Subject: Adjust to new lib API --- plugins/cgi/cgi.cpp | 1 + plugins/static-files/static-files.cpp | 2 ++ plugins/statistics/statistics.cpp | 1 + plugins/webbox/webbox.cpp | 4 ++++ plugins/weblog/weblog.cpp | 2 ++ 5 files changed, 10 insertions(+) (limited to 'plugins') diff --git a/plugins/cgi/cgi.cpp b/plugins/cgi/cgi.cpp index 4e4f6c7..23c9bc4 100644 --- a/plugins/cgi/cgi.cpp +++ b/plugins/cgi/cgi.cpp @@ -16,6 +16,7 @@ using namespace std::string_literals; namespace bp = boost::process; namespace fs = std::filesystem; +using namespace Reichwein::Mime; namespace { diff --git a/plugins/static-files/static-files.cpp b/plugins/static-files/static-files.cpp index e889bc5..4dd8499 100644 --- a/plugins/static-files/static-files.cpp +++ b/plugins/static-files/static-files.cpp @@ -12,6 +12,8 @@ using namespace std::string_literals; namespace fs = std::filesystem; +using namespace Reichwein::Mime; +using namespace Reichwein::URL; namespace { diff --git a/plugins/statistics/statistics.cpp b/plugins/statistics/statistics.cpp index 54450a8..959fd33 100644 --- a/plugins/statistics/statistics.cpp +++ b/plugins/statistics/statistics.cpp @@ -18,6 +18,7 @@ using namespace std::string_literals; namespace bp = boost::process; namespace fs = std::filesystem; +using namespace Reichwein; namespace { diff --git a/plugins/webbox/webbox.cpp b/plugins/webbox/webbox.cpp index 90975b5..df7e946 100644 --- a/plugins/webbox/webbox.cpp +++ b/plugins/webbox/webbox.cpp @@ -27,6 +27,10 @@ using namespace std::string_literals; namespace fs = std::filesystem; namespace pt = boost::property_tree; +using namespace Reichwein::Mime; +using namespace Reichwein::Stringutil; +using namespace Reichwein::URL; +using namespace Reichwein; namespace { diff --git a/plugins/weblog/weblog.cpp b/plugins/weblog/weblog.cpp index 8be5b40..1aea2f4 100644 --- a/plugins/weblog/weblog.cpp +++ b/plugins/weblog/weblog.cpp @@ -18,6 +18,8 @@ using namespace std::string_literals; namespace fs = std::filesystem; namespace pt = boost::property_tree; +using namespace Reichwein::Mime; +using namespace Reichwein::Stringutil; namespace { -- cgit v1.2.3