src: Fixed clang issues

This commit is contained in:
Eberhard Graether
2017-05-16 16:30:50 +02:00
parent 4d140e396a
commit d4e5808524
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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)
+2 -2
View File
@@ -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;