]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/entry_cmp.hpp
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / include / ext / pb_ds / detail / binary_heap_ / entry_cmp.hpp
index f63fac5ec1df029b9376d7ed12710eee5ac0a1fc..2972435f3ab2cc0cf26abce0f07f1dbd0beb49b8 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 
-// Copyright (C) 2005-2018 Free Software Foundation, Inc.
+// Copyright (C) 2005-2020 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 terms
@@ -62,10 +62,10 @@ namespace __gnu_pbds
       struct entry_cmp<_VTp, Cmp_Fn, _Alloc, false>
       {
       private:
-       typedef typename _Alloc::template rebind<_VTp>          __rebind_v;
+       typedef rebind_traits<_Alloc, _VTp>             __rebind_v;
 
       public:
-       typedef typename __rebind_v::other::const_pointer       entry;
+       typedef typename __rebind_v::const_pointer      entry;
 
        /// Compare plus entry.
        struct type : public Cmp_Fn