diff --git a/include/boost/nowide/fstream.hpp b/include/boost/nowide/fstream.hpp index e964470..9c85a54 100644 --- a/include/boost/nowide/fstream.hpp +++ b/include/boost/nowide/fstream.hpp @@ -367,7 +367,7 @@ namespace nowide { /// Trait to heuristically check for a *::filesystem::path /// Done by checking for make_preferred and filename member functions with correct signature template - class is_path + struct is_path { typedef char one; struct two @@ -382,7 +382,6 @@ namespace nowide { template static two test(...); - public: enum { value = sizeof(test(0)) == sizeof(one)