]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/include/bits/stl_set.h
libstdc++: Fix declarations of variable templates
[thirdparty/gcc.git] / libstdc++-v3 / include / bits / stl_set.h
index 135d57af4961d811063db75f8db43908125ab6ef..85f26c24dae7f6fd0ac3cd4d6eb3a7ce0cd6c1eb 100644 (file)
@@ -1054,7 +1054,7 @@ _GLIBCXX_END_NAMESPACE_CONTAINER
 #if __cplusplus > 201703L
 namespace ranges::__detail
 {
-  template<typename _Tp> inline constexpr bool __enable_view_impl;
+  template<typename _Tp> extern inline const bool __enable_view_impl;
   template<typename _Key, typename _Compare, typename _Alloc>
     inline constexpr bool
       __enable_view_impl<_GLIBCXX_STD_C::set<_Key, _Compare, _Alloc>> = false;