mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
AK: Make NonnullRefPtrVector constructible from Vector<NonnullRefPtr>
This commit is contained in:
parent
8527f00065
commit
7b2c838162
Notes:
sideshowbarker
2024-07-18 12:28:10 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/7b2c8381623 Pull-request: https://github.com/SerenityOS/serenity/pull/7977 Reviewed-by: https://github.com/awesomekling
@ -13,6 +13,7 @@ namespace AK {
|
|||||||
|
|
||||||
template<typename T, size_t inline_capacity>
|
template<typename T, size_t inline_capacity>
|
||||||
class NonnullRefPtrVector : public NonnullPtrVector<NonnullRefPtr<T>, inline_capacity> {
|
class NonnullRefPtrVector : public NonnullPtrVector<NonnullRefPtr<T>, inline_capacity> {
|
||||||
|
using NonnullPtrVector<NonnullRefPtr<T>, inline_capacity>::NonnullPtrVector;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user