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];
|
||
|
}
|
||
|
|