2
0
mirror of https://github.com/boostorg/nowide.git synced 2026-02-21 15:12:30 +00:00

Fix -Wctor-dtor-privacy warning

This commit is contained in:
Alexander Grund
2020-04-18 20:31:01 +02:00
parent c1b6a86133
commit af5a3c6c0c

View File

@@ -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<typename T>
class is_path
struct is_path
{
typedef char one;
struct two
@@ -382,7 +382,6 @@ namespace nowide {
template<typename U>
static two test(...);
public:
enum
{
value = sizeof(test<T>(0)) == sizeof(one)