Forráskód Böngészése

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

greatbridf 1 éve
szülő
commit
2d8ca9bdaa
1 módosított fájl, 1 hozzáadás és 1 törlés
  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