mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 22:57:54 +08:00
183ba0e2f4
* [qt5-webengine] Fix apply patch failed * update version Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
25 lines
1.0 KiB
Diff
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];
|
|
}
|
|
|