mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 04:57:41 +00:00
AK: Add missing GenericTraits<NonnullRefPtr>
This enables us to use keys of type NonnullRefPtr in HashMaps and HashTables. This commit also includes fixes in various places that used HashMap<T, NonnullRefPtr<U>>::get() and expected to get an Optional<NonnullRefPtr<U>> and now get an Optional<U*>.
This commit is contained in:
parent
1da0d402b7
commit
8a01167c7d
6 changed files with 20 additions and 7 deletions
|
@ -7,6 +7,7 @@
|
|||
#include "ParserAutoComplete.h"
|
||||
#include <AK/Assertions.h>
|
||||
#include <AK/HashTable.h>
|
||||
#include <AK/OwnPtr.h>
|
||||
#include <LibCpp/AST.h>
|
||||
#include <LibCpp/Lexer.h>
|
||||
#include <LibCpp/Parser.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue