Browse Source

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

greatbridf 1 year ago
parent
commit
2d8ca9bdaa
1 changed files with 1 additions and 1 deletions
  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