From af5a3c6c0c4bb2c38be3af448eeff81a76e80043 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Sat, 18 Apr 2020 20:31:01 +0200 Subject: [PATCH] Fix -Wctor-dtor-privacy warning --- include/boost/nowide/fstream.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)