Do not remove TDLib headers from Td.

GitOrigin-RevId: 62021a5579178f9f5eb059d67c4141b350b79509
This commit is contained in:
levlam 2019-04-26 22:52:29 +03:00
parent 138bf17da9
commit d8c92ebd3d

View File

@ -257,7 +257,7 @@ function split_file($file, $chunks, $undo) {
);
}
if (strpos($new_content, "Td::Td") === false) { // destructor Td::~Td needs to see definitions of all forward-declared classes
if (strpos($new_content, 'Td::') === false) { // destructor Td::~Td needs to see definitions of all forward-declared classes
$td_methods = array(
'auth_manager[_(-][^.]|AuthManager' => 'AuthManager',
'ConfigShared|shared_config[(][)]' => 'ConfigShared',