diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-11-18 16:35:34 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-11-18 16:35:34 -0500 |
commit | 140eb481d1c31d9327b7baf7901c354c8e224dab (patch) | |
tree | 4210810d78030f818527ffaf4803b61678f3955b /gdb/observable.c | |
parent | 89e1cf9cb46c091441e5c7c992fbb19fdc9d4ec4 (diff) | |
download | gdb-140eb481d1c31d9327b7baf7901c354c8e224dab.zip gdb-140eb481d1c31d9327b7baf7901c354c8e224dab.tar.gz gdb-140eb481d1c31d9327b7baf7901c354c8e224dab.tar.bz2 |
gdb: fix array-view-selftests.c build with g++ 4.8
When building with g++ 4.8, I get:
CXX unittests/array-view-selftests.o
/home/smarchi/src/binutils-gdb/gdb/unittests/array-view-selftests.c:123:42: error: expected 'class' before 'Container'
template<template<typename ...> typename Container>
^
I am no C++ template expert, but it looks like if I change "typename" for
"class", as the compiler kind of suggests, the code compiles.
Change-Id: I9c3edd29fb2b190069f0ce0dbf3bc3604d175f48
Diffstat (limited to 'gdb/observable.c')
0 files changed, 0 insertions, 0 deletions