From 66bca40f4131ac55d241833edb701515f7d6d63a Mon Sep 17 00:00:00 2001 From: Joscha Schmiedt <joscha@schmiedt.dev> Date: Tue, 20 Aug 2024 22:22:29 +0200 Subject: [PATCH] FIX: Fix missing <filesystem> include --- include/caosdb/logging.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/include/caosdb/logging.h b/include/caosdb/logging.h index d17c891..afed074 100644 --- a/include/caosdb/logging.h +++ b/include/caosdb/logging.h @@ -29,10 +29,7 @@ #include <memory> // for shared_ptr #include <string> // for string #include <vector> // for vector - -namespace std::filesystem { -class path; -} +#include <filesystem> // for path namespace caosdb::logging { @@ -51,7 +48,7 @@ public: auto operator<<(const std::string &msg) -> LoggerOutputStream &; auto operator<<(void *msg) -> LoggerOutputStream &; auto operator<<(std::filesystem::path *path) -> LoggerOutputStream &; - LoggerOutputStream &operator<<(const std::filesystem::path &path); + auto operator<<(const std::filesystem::path &path) -> LoggerOutputStream &; static auto get(const std::string &channel, int level) -> LoggerOutputStream { return LoggerOutputStream(channel, level); -- GitLab