[serialization] std::function is already nullable; no need for Optional.

Thanks, Dmitri.

Swift SVN r8096
This commit is contained in:
Jordan Rose
2013-09-11 18:26:25 +00:00
parent 46f616938c
commit 12f6e68385
2 changed files with 12 additions and 12 deletions

View File

@@ -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);