mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
AK: Use AK namespace for ValueComparingRefPtr
These were moved in 0f04c6d but the namespace remained the same. We also
now forward declare these in `AK/Forward.h` rather than
`LibWeb/Forward.h` (or not at all in the case of `ValueComparingRefPtr`)
This commit is contained in:
Notes:
github-actions[bot]
2026-02-20 22:04:33 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/4f3303b12f2 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8034 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -152,6 +152,12 @@ class RefPtr;
|
||||
template<typename T, typename TDeleter = DefaultDelete<T>>
|
||||
class OwnPtr;
|
||||
|
||||
template<typename T>
|
||||
struct ValueComparingNonnullRefPtr;
|
||||
|
||||
template<typename T>
|
||||
struct ValueComparingRefPtr;
|
||||
|
||||
template<typename T>
|
||||
class WeakPtr;
|
||||
|
||||
@@ -227,6 +233,8 @@ using AK::Utf32CodePointIterator;
|
||||
using AK::Utf32View;
|
||||
using AK::Utf8CodePointIterator;
|
||||
using AK::Utf8View;
|
||||
using AK::ValueComparingNonnullRefPtr;
|
||||
using AK::ValueComparingRefPtr;
|
||||
using AK::Vector;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <AK/RefPtr.h>
|
||||
|
||||
namespace Web::CSS {
|
||||
namespace AK {
|
||||
|
||||
template<typename T>
|
||||
struct ValueComparingNonnullRefPtr : public NonnullRefPtr<T> {
|
||||
|
||||
Reference in New Issue
Block a user