Browse Source

fix(libstdc++): make deleted addressof const T*

greatbridf 1 năm trước cách đây
mục cha
commit
2d8ca9bdaa
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      gblibstdc++/include/memory

+ 1 - 1
gblibstdc++/include/memory

@@ -25,7 +25,7 @@ addressof(T& arg) noexcept
 }
 
 template <typename T>
-T* addressof(const T&&) = delete;
+const T* addressof(const T&&) = delete;
 
 } // namespace std