fix enum constant collision with define on windows
This commit is contained in:
@@ -34,7 +34,7 @@ namespace sourcetrail
|
||||
LocationKind::LOCAL_SYMBOL,
|
||||
LocationKind::SIGNATURE,
|
||||
LocationKind::COMMENT,
|
||||
LocationKind::ERROR,
|
||||
LocationKind::INDEXER_ERROR,
|
||||
LocationKind::FULLTEXT_SEARCH,
|
||||
LocationKind::SCREEN_SEARCH
|
||||
};
|
||||
|
||||
@@ -584,7 +584,7 @@ namespace sourcetrail
|
||||
try
|
||||
{
|
||||
const int errorId = m_storage->addError(StorageErrorData(message, "", fatal, true));
|
||||
addSourceLocation(errorId, location, LocationKind::ERROR);
|
||||
addSourceLocation(errorId, location, LocationKind::INDEXER_ERROR);
|
||||
return true;
|
||||
}
|
||||
catch (const SourcetrailException e)
|
||||
|
||||
Reference in New Issue
Block a user