summarylogtreecommitdiffstats
path: root/chromium-is-constructible.patch
diff options
context:
space:
mode:
authorDaniel Playfair Cal2019-02-06 19:33:15 +1100
committerDaniel Playfair Cal2019-02-06 19:36:38 +1100
commit66a3e7f3f175be14b5d7c292579da0f82437b656 (patch)
tree0b3af6f1062357f2f37f8d720194906b22f81fd4 /chromium-is-constructible.patch
downloadaur-66a3e7f3f175be14b5d7c292579da0f82437b656.tar.gz
Initial publish
Diffstat (limited to 'chromium-is-constructible.patch')
-rw-r--r--chromium-is-constructible.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/chromium-is-constructible.patch b/chromium-is-constructible.patch
new file mode 100644
index 000000000000..748cb376112f
--- /dev/null
+++ b/chromium-is-constructible.patch
@@ -0,0 +1,13 @@
+diff --git a/base/optional.h b/base/optional.h
+index 84b302e53079..10586d65f225 100644
+--- a/base/optional.h
++++ b/base/optional.h
+@@ -345,7 +345,7 @@ struct IsConvertibleFromOptional
+ : std::integral_constant<
+ bool,
+ std::is_constructible<T, Optional<U>&>::value ||
+- std::is_constructible<T, const Optional<U>&>::value ||
++ // std::is_constructible<T, const Optional<U>&>::value ||
+ std::is_constructible<T, Optional<U>&&>::value ||
+ std::is_constructible<T, const Optional<U>&&>::value ||
+ std::is_convertible<Optional<U>&, T>::value ||