summarylogtreecommitdiffstats
path: root/GCC8-combat-K5.patch
diff options
context:
space:
mode:
authorNorbert Pfeiler2019-05-02 03:34:45 +0200
committerNorbert Pfeiler2019-05-02 03:34:45 +0200
commita45ad0aae5cc5464502cccd4a81f9183c9fbea36 (patch)
treeab3ccf7eed3dab3a4636622128e185d656a3688a /GCC8-combat-K5.patch
parentb77b3dd579d0a9623352308212cc22c2de8d3fea (diff)
downloadaur-a45ad0aae5cc5464502cccd4a81f9183c9fbea36.tar.gz
backport GCC8 fix
Diffstat (limited to 'GCC8-combat-K5.patch')
-rw-r--r--GCC8-combat-K5.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/GCC8-combat-K5.patch b/GCC8-combat-K5.patch
new file mode 100644
index 00000000000..d38a6d9b691
--- /dev/null
+++ b/GCC8-combat-K5.patch
@@ -0,0 +1,16 @@
+diff --git a/hash_list.h b/hash_list.h
+index 5e817c6e..94921f83 100644
+--- a/hash_list.h
++++ b/hash_list.h
+@@ -42,9 +42,9 @@ class hash_list {
+ using value_type = T;
+ using size_type = std::size_t;
+ using difference_type = std::ptrdiff_t;
+- using reference = reference;
++// using reference = reference;
+ using const_reference = const T &;
+- using iterator = iterator;
++// using iterator = iterator;
+ using const_iterator = typename decltype(data)::const_iterator;
+ using reverse_iterator = std::reverse_iterator<iterator>;
+ using const_reverse_iterator = std::reverse_iterator<const_iterator>;