Bugfix of previous commit
This commit is contained in:
parent
18f49e6c55
commit
7806bcec3c
|
@ -492,7 +492,7 @@ const DocumentsManager::GeneralDocument *DocumentsManager::get_document(FileId f
|
|||
if (document == documents_.end() ||
|
||||
document->second == nullptr ||
|
||||
document->second->file_id != file_id) {
|
||||
return make_unique<DocumentsManager>().get();
|
||||
return make_unique<GeneralDocument>().get();
|
||||
}
|
||||
|
||||
return document->second.get();
|
||||
|
|
Reference in New Issue