logic: fixed refreshing bug
* fixed bug where coati didn't recognize file dependencies because each file actually had two different nodes.
This commit is contained in:
@@ -61,10 +61,10 @@ void PreprocessorCallbacks::InclusionDirective(
|
||||
{
|
||||
|
||||
NameHierarchy referencedNameHierarchy;
|
||||
referencedNameHierarchy.push(std::make_shared<NameElement>(includedFilePath.fileName()));
|
||||
referencedNameHierarchy.push(std::make_shared<NameElement>(includedFilePath.str()));
|
||||
|
||||
NameHierarchy contextNameHierarchy;
|
||||
contextNameHierarchy.push(std::make_shared<NameElement>(m_currentPath.fileName()));
|
||||
contextNameHierarchy.push(std::make_shared<NameElement>(m_currentPath.str()));
|
||||
|
||||
m_client->recordReference(
|
||||
REFERENCE_INCLUDE,
|
||||
|
||||
Reference in New Issue
Block a user