From e57fd540b22aee3cda12de0b2d2f78ab2c78a794 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Sch=C3=BCmann?= Date: Mon, 5 Nov 2018 21:54:24 +0100 Subject: [PATCH] Fixed windows compilation issue. --- filesystem.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/filesystem.h b/filesystem.h index 9f43943..2611206 100644 --- a/filesystem.h +++ b/filesystem.h @@ -68,6 +68,7 @@ #include #include #include +#include #else #include #include @@ -86,11 +87,11 @@ #include #include #include +#include #include #include -#include #include -#include +#include #include #include #include @@ -920,9 +921,9 @@ public: } bool valid() const - { - return _isvalid; - } + { + return _isvalid; + } private: int _argc; @@ -1211,7 +1212,6 @@ inline void postprocess_path_with_format(path::string_type& p, path::format fmt) } // namespace detail - template inline path::path(const Source& source, format fmt) : _path(source) @@ -1658,7 +1658,6 @@ inline file_status status_ex(const path& p, std::error_code& ec, file_status* sl } // namespace detail - inline u8arguments::u8arguments(int& argc, char**& argv) : _argc(argc) , _argv(argv) @@ -1680,7 +1679,7 @@ inline u8arguments::u8arguments(int& argc, char**& argv) _isvalid = true; #else std::setlocale(LC_ALL, ""); - if(!detail::compare_no_case(::nl_langinfo(CODESET), "UTF-8")) { + if (!detail::compare_no_case(::nl_langinfo(CODESET), "UTF-8")) { _isvalid = true; } #endif