mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
Merge topic 'filesystem-class-check-inheritance'
2216843fd5 cm_cxx_filesystem: Improve detection of std::filesystem support on GCC
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !9735
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user