]> gcc.gnu.org Git - gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/vector/bool/80893.cc
Update copyright years.
[gcc.git] / libstdc++-v3 / testsuite / 23_containers / vector / bool / 80893.cc
index 0b0016c9790000802d3c5f94d57a8c31b66f06ba..da465049712574b6570ebb579a6db912408739cb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017 Free Software Foundation, Inc.
+// Copyright (C) 2017-2022 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -59,7 +59,7 @@ struct Alloc
   void deallocate(pointer p, std::size_t n)
   {
     if (n)
-      std::allocator<T>().deallocate(p.value, n);
+      std::allocator<T>().deallocate(p.operator->(), n);
   }
 };
 
This page took 0.030385 seconds and 5 git commands to generate.