From d8c92ebd3dd109f44168e98a8f682e73feb12bd0 Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 26 Apr 2019 22:52:29 +0300 Subject: [PATCH] Do not remove TDLib headers from Td. GitOrigin-RevId: 62021a5579178f9f5eb059d67c4141b350b79509 --- SplitSource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SplitSource.php b/SplitSource.php index b1e51d2e..851e1778 100644 --- a/SplitSource.php +++ b/SplitSource.php @@ -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',