diff options
-rw-r--r-- | Source/Checks/cm_cxx_filesystem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Checks/cm_cxx_filesystem.cxx b/Source/Checks/cm_cxx_filesystem.cxx index bdc7c6d..456ec46 100644 --- a/Source/Checks/cm_cxx_filesystem.cxx +++ b/Source/Checks/cm_cxx_filesystem.cxx @@ -47,7 +47,7 @@ int main() #if defined(__GLIBCXX__) // RH gcc-toolset-10 has a strange bug: it selects, in some circumstances, // the wrong constructor which generate error in template instantiation. - class my_string_view : std::string_view + class my_string_view : public std::string_view { public: my_string_view(const char* p) |