]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/include/ext/pb_ds/detail/trie_policy/sample_trie_access_traits.hpp
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / include / ext / pb_ds / detail / trie_policy / sample_trie_access_traits.hpp
index 7576a84b5554568ab0b6aaa8b0a51535f8fb9998..2e3663ea54ffd10006af3da5a69ca850e600e572 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 
-// Copyright (C) 2005-2017 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
@@ -49,8 +49,8 @@ namespace __gnu_pbds
     typedef std::size_t                                size_type;
     typedef std::string                                key_type;
 
-    typedef typename _Alloc::template rebind<key_type> __rebind_k;
-    typedef typename __rebind_k::other::const_reference        key_const_reference;
+    typedef typename rebind_traits<_Alloc, key_type>::const_reference
+      key_const_reference;
     typedef std::string::const_iterator                const_iterator;
 
     /// Element type.