Mercurial > octave
changeset 30492:e9a6d3822244 stable
fix syntax error in previous change
* Array.h (Array::T_Alloc_traits): Use "template" before
"rebind_traits<T>" as required by standard C++ (GCC allows it to be
omitted).
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 15 Dec 2021 21:27:18 -0500 |
parents | 34b4d993abb5 |
children | 6fc9847bd302 ba5370c670d5 |
files | liboctave/array/Array.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/array/Array.h Wed Dec 15 16:08:09 2021 -0500 +++ b/liboctave/array/Array.h Wed Dec 15 21:27:18 2021 -0500 @@ -136,7 +136,7 @@ typedef std::allocator_traits<Alloc> Alloc_traits; - typedef typename Alloc_traits::rebind_traits<T> T_Alloc_traits; + typedef typename Alloc_traits::template rebind_traits<T> T_Alloc_traits; typedef typename T_Alloc_traits::pointer pointer; pointer m_data;