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);
|
||||
|
||||
@@ -34,7 +34,7 @@ public:
|
||||
|
||||
Id addNode(const int type, const std::string& serializedName);
|
||||
void addSymbol(const int id, int definitionKind);
|
||||
bool addFile(const int id, const std::string& filePath, const std::string& modificationTime, bool complete);
|
||||
void addFile(const int id, const std::string& filePath, const std::string& modificationTime, bool complete);
|
||||
Id addLocalSymbol(const std::string& name);
|
||||
Id addSourceLocation(Id fileNodeId, uint startLine, uint startCol, uint endLine, uint endCol, int type);
|
||||
bool addOccurrence(Id elementId, Id sourceLocationId);
|
||||
|
||||
Reference in New Issue
Block a user