diff options
author | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-12-07 11:21:24 +0000 |
---|---|---|
committer | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-12-08 17:14:07 +0000 |
commit | b18535019126764052395b036f2ec24271d726e5 (patch) | |
tree | 74a2947a4e2d2ff22a9828d27c767c9092368fd2 /src/base/circular_queue.hh | |
parent | b14b43a576733af3332ca9cff97b9c00f2d9cd00 (diff) | |
download | gem5-b18535019126764052395b036f2ec24271d726e5.tar.xz |
base, systemc: Fix clang compilation
This patch is fixing the following issues:
- base: typename should be used only for types
- systemc: 'GCC_VERSION' is not defined for clang
Change-Id: I27c94445d65691a08a0a14a0ffe6b6942f6c455f
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/14976
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/base/circular_queue.hh')
-rw-r--r-- | src/base/circular_queue.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/circular_queue.hh b/src/base/circular_queue.hh index ff7f73dc1..5023661b9 100644 --- a/src/base/circular_queue.hh +++ b/src/base/circular_queue.hh @@ -394,7 +394,7 @@ class CircularQueue : private std::vector<T> }; public: - using typename Base::operator[]; + using Base::operator[]; explicit CircularQueue(uint32_t size = 0) : _capacity(size), _head(1), _tail(0), _empty(true), _round(0) |