src: Fixed clang issues
This commit is contained in:
@@ -32,7 +32,7 @@ void SqliteBookmarkStorage::migrateIfNecessary()
|
||||
migration->executeStatementInStorage(storage, "UPDATE bookmarked_edge SET serialized_target_node_name = '::\tm' || serialized_target_node_name");
|
||||
}));
|
||||
|
||||
bool migrated = migrator.migrate(this, SqliteBookmarkStorage::s_storageVersion);
|
||||
migrator.migrate(this, SqliteBookmarkStorage::s_storageVersion);
|
||||
}
|
||||
|
||||
Id SqliteBookmarkStorage::addBookmarkCategory(const std::string& name)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#ifndef INDEXER_COMPOSITE_H
|
||||
#define INDEXER_COMPOSITE_H
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "data/indexer/IndexerBase.h"
|
||||
|
||||
@@ -23,7 +23,7 @@ public:
|
||||
virtual void interrupt();
|
||||
|
||||
private:
|
||||
std::unordered_map<IndexerCommandType, std::shared_ptr<IndexerBase>> m_indexers;
|
||||
std::map<IndexerCommandType, std::shared_ptr<IndexerBase>> m_indexers;
|
||||
};
|
||||
|
||||
#endif // INDEXER_COMPOSITE_H
|
||||
|
||||
@@ -31,7 +31,7 @@ public:
|
||||
virtual ~IndexerCommandCxxCdb();
|
||||
|
||||
virtual IndexerCommandType getIndexerCommandType() const override;
|
||||
virtual size_t getByteSize() const;
|
||||
virtual size_t getByteSize() const override;
|
||||
|
||||
FilePath getWorkingDirectory() const;
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ public:
|
||||
virtual ~IndexerCommandCxxManual();
|
||||
|
||||
virtual IndexerCommandType getIndexerCommandType() const override;
|
||||
virtual size_t getByteSize() const;
|
||||
virtual size_t getByteSize() const override;
|
||||
|
||||
std::string getLanguageStandard() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user