Fix spelling mistake

This commit is contained in:
Jacob Dufault 2018-01-17 22:10:11 -08:00
parent a3774a371f
commit bb0dd636ed
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
#include "import_manager.h"
bool ImportManager::TryMarkDependencyImported(const std::string& path) {
std::lock_guard<std::mutex> lock(depdency_mutex_);
return depdency_imported_.insert(path).second;
std::lock_guard<std::mutex> lock(dependency_mutex_);
return dependency_imported_.insert(path).second;
}
bool ImportManager::StartQueryDbImport(const std::string& path) {

View File

@ -24,6 +24,6 @@ struct ImportManager {
std::unordered_set<std::string> querydb_processing_;
// TODO: use std::shared_mutex so we can have multiple readers.
std::mutex depdency_mutex_;
std::unordered_set<std::string> depdency_imported_;
std::mutex dependency_mutex_;
std::unordered_set<std::string> dependency_imported_;
};