We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27c30aa commit 7598794Copy full SHA for 7598794
chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/no_destructor.h
@@ -122,9 +122,7 @@ class NoDestructor {
122
new (storage_) T(std::forward<Args>(args)...);
123
}
124
125
- const T* get() const {
126
- return const_cast<PlacementStorage*>(this)->storage();
127
- }
+ const T* get() const { return const_cast<PlacementStorage*>(this)->get(); }
128
T* get() { return reinterpret_cast<T*>(storage_); }
129
130
private:
0 commit comments