mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-29 11:01:57 +00:00
Fix spelling mistake
This commit is contained in:
parent
a3774a371f
commit
bb0dd636ed
@ -1,8 +1,8 @@
|
|||||||
#include "import_manager.h"
|
#include "import_manager.h"
|
||||||
|
|
||||||
bool ImportManager::TryMarkDependencyImported(const std::string& path) {
|
bool ImportManager::TryMarkDependencyImported(const std::string& path) {
|
||||||
std::lock_guard<std::mutex> lock(depdency_mutex_);
|
std::lock_guard<std::mutex> lock(dependency_mutex_);
|
||||||
return depdency_imported_.insert(path).second;
|
return dependency_imported_.insert(path).second;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ImportManager::StartQueryDbImport(const std::string& path) {
|
bool ImportManager::StartQueryDbImport(const std::string& path) {
|
||||||
|
@ -24,6 +24,6 @@ struct ImportManager {
|
|||||||
std::unordered_set<std::string> querydb_processing_;
|
std::unordered_set<std::string> querydb_processing_;
|
||||||
|
|
||||||
// TODO: use std::shared_mutex so we can have multiple readers.
|
// TODO: use std::shared_mutex so we can have multiple readers.
|
||||||
std::mutex depdency_mutex_;
|
std::mutex dependency_mutex_;
|
||||||
std::unordered_set<std::string> depdency_imported_;
|
std::unordered_set<std::string> dependency_imported_;
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user