vcpkg/ports/qt5-webengine/build_2.patch
LilyWangLL 183ba0e2f4
[qt5-webengine] Fix apply patch failed (#23484)
* [qt5-webengine] Fix apply patch failed

* update version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2022-03-11 11:35:32 -08:00

25 lines
1.0 KiB
Diff

diff --git a/src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/base/circular_queue.h b/src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/base/circular_queue.h
index 18ca770..5585a67 100644
--- a/src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/base/circular_queue.h
+++ b/src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/base/circular_queue.h
@@ -74,16 +74,16 @@ class CircularQueue {
return queue_->Get(pos_);
}
- const T* operator->() const {
+ T* operator->() const {
return const_cast<CircularQueue<T>::Iterator*>(this)->operator->();
}
T& operator*() { return *(operator->()); }
- const T& operator*() const { return *(operator->()); }
+ T& operator*() const { return *(operator->()); }
value_type& operator[](difference_type i) { return *(*this + i); }
- const value_type& operator[](difference_type i) const {
+ value_type& operator[](difference_type i) const {
return const_cast<CircularQueue<T>::Iterator&>(*this)[i];
}