Skip to content

Commit

Permalink
SplitSource fix detection of Td.cpp.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: d6f3f2b37f271deb47287264666df25d71e18222
  • Loading branch information
levlam committed Apr 26, 2019
1 parent 0283079 commit 23afac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SplitSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ function ($matches) use ($needed_std_headers) {
);
}

if (strpos($new_content, 'Td::') === false) { // destructor Td::~Td needs to see definitions of all forward-declared classes
if (strpos($cpp_name, 'Td.cpp') === false) { // destructor Td::~Td needs to see definitions of all forward-declared classes
$td_methods = array(
'auth_manager[_(-][^.]|AuthManager' => 'AuthManager',
'ConfigShared|shared_config[(][)]' => 'ConfigShared',
Expand Down

0 comments on commit 23afac5

Please sign in to comment.