aboutsummaryrefslogtreecommitdiff
path: root/gcc/hash-map.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/hash-map.h')
-rw-r--r--gcc/hash-map.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/hash-map.h b/gcc/hash-map.h
index f3f1f9a..ba20fe7 100644
--- a/gcc/hash-map.h
+++ b/gcc/hash-map.h
@@ -253,7 +253,8 @@ public:
/* Can't use std::pair here, because GCC before 4.3 don't handle
std::pair where template parameters are references well.
See PR86739. */
- struct reference_pair {
+ class reference_pair {
+ public:
const Key &first;
Value &second;