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:
Andreas Stallinger
2017-05-03 11:22:28 +00:00
parent e33be096a6
commit 55d3f9c189
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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);