fix: 64bit builder segault
returning a bool seem to cause a seg fault on the linux 64 bit builder since it is not used anyway i changed it back to the void return. (dont know why it is a seg fault)
This commit is contained in:
@@ -67,11 +67,11 @@ void SqliteIndexStorage::addSymbol(const int id, const int definitionKind)
|
||||
);
|
||||
}
|
||||
|
||||
bool SqliteIndexStorage::addFile(const int id, const std::string& filePath, const std::string& modificationTime, bool complete)
|
||||
void SqliteIndexStorage::addFile(const int id, const std::string& filePath, const std::string& modificationTime, bool complete)
|
||||
{
|
||||
if (getFileByPath(filePath).id != 0)
|
||||
{
|
||||
return false;
|
||||
return;
|
||||
}
|
||||
|
||||
std::shared_ptr<TextAccess> content = TextAccess::createFromFile(filePath);
|
||||
|
||||
Reference in New Issue
Block a user