Removed unnecessary imports

This commit is contained in:
matthias@arch 2022-10-23 01:12:57 +02:00
parent 9569e56335
commit 4c7cae9d42
2 changed files with 6 additions and 4 deletions

View File

@ -27,6 +27,8 @@ namespace gz {
}
return success;
}
template bool writeKeyValueFile<std::hash<std::string>, std::equal_to<std::string>>(const std::string&, const std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>>&);
template bool writeKeyValueFile<util::string_hash, std::equal_to<>>(const std::string&, const std::unordered_map<std::string, std::string, util::string_hash, std::equal_to<>>&);
using pairSS = std::pair<std::string, std::string>;
@ -72,11 +74,8 @@ namespace gz {
}
return attr;
}
template umapSS readKeyValueFile<umapSS>(const std::string&, bool);
template mapSS readKeyValueFile<mapSS>(const std::string&, bool);
template vecSS readKeyValueFile<vecSS>(const std::string&, bool);
template bool writeKeyValueFile<std::hash<std::string>, std::equal_to<std::string>>(const std::string&, const std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>>&);
template bool writeKeyValueFile<util::string_hash, std::equal_to<>>(const std::string&, const std::unordered_map<std::string, std::string, util::string_hash, std::equal_to<>>&);
}

View File

@ -1,8 +1,11 @@
#pragma once
#include "util/string.hpp"
#include "util/string_conversion.hpp"
#include <map>
#include <unordered_map>
#include <vector>
namespace gz {