mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[serialization] std::function is already nullable; no need for Optional.
Thanks, Dmitri. Swift SVN r8096
This commit is contained in:
@@ -264,7 +264,7 @@ private:
|
||||
/// completed).
|
||||
Decl *getDecl(serialization::DeclID DID,
|
||||
Optional<DeclContext *> ForcedContext = {},
|
||||
Optional<std::function<void(Decl*)>> DidRecord = {});
|
||||
std::function<void(Decl*)> DidRecord = nullptr);
|
||||
|
||||
/// Returns the type with the given ID, deserializing it if needed.
|
||||
Type getType(serialization::TypeID TID);
|
||||
|
||||
Reference in New Issue
Block a user