From 4c7cae9d4203b75697a14b7b7a916c4fa3bbf04f Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Sun, 23 Oct 2022 01:12:57 +0200 Subject: [PATCH] Removed unnecessary imports --- src/file_io.cpp | 5 ++--- src/file_io.hpp | 5 ++++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/file_io.cpp b/src/file_io.cpp index 95621e2..3881f44 100644 --- a/src/file_io.cpp +++ b/src/file_io.cpp @@ -27,6 +27,8 @@ namespace gz { } return success; } + template bool writeKeyValueFile, std::equal_to>(const std::string&, const std::unordered_map, std::equal_to>&); + template bool writeKeyValueFile>(const std::string&, const std::unordered_map>&); using pairSS = std::pair; @@ -72,11 +74,8 @@ namespace gz { } return attr; } - template umapSS readKeyValueFile(const std::string&, bool); template mapSS readKeyValueFile(const std::string&, bool); template vecSS readKeyValueFile(const std::string&, bool); - template bool writeKeyValueFile, std::equal_to>(const std::string&, const std::unordered_map, std::equal_to>&); - template bool writeKeyValueFile>(const std::string&, const std::unordered_map>&); } diff --git a/src/file_io.hpp b/src/file_io.hpp index 6c5242b..4199f3f 100644 --- a/src/file_io.hpp +++ b/src/file_io.hpp @@ -1,8 +1,11 @@ #pragma once -#include "util/string.hpp" #include "util/string_conversion.hpp" +#include +#include +#include + namespace gz {