diff --git a/AUTHORS b/AUTHORS index fe573fe50..3a9d91d63 100644 --- a/AUTHORS +++ b/AUTHORS @@ -60,6 +60,7 @@ Ciekce clefrks Clemens L. (rn5f107s2) Cody Ho (aesrentai) +Con Kirby (ConKirby) CSTENTOR Dale Weiler (graphitemaster) Dalton Hanaway (dhanaway) diff --git a/src/misc.h b/src/misc.h index 9c65d95ca..9dba99b1d 100644 --- a/src/misc.h +++ b/src/misc.h @@ -26,7 +26,6 @@ #include #include #include -#include #include // IWYU pragma: keep // IWYU pragma: no_include <__exception/terminate.h> #include @@ -138,19 +137,6 @@ std::optional str_to_size_t(const std::string& s); std::string utf8_from_wstring(std::wstring_view s); std::filesystem::path path_from_utf8(const std::string& path); -#if defined(__linux__) - -struct PipeDeleter { - void operator()(FILE* file) const { - if (file != nullptr) - { - pclose(file); - } - } -}; - -#endif - // Reads the file as bytes. // Returns std::nullopt if the file does not exist. std::optional read_file_to_string(const std::string& path);