diff options
author | claiff <claiff@mail.ru> | 2022-10-05 16:03:08 +0300 |
---|---|---|
committer | claiff <claiff@mail.ru> | 2022-10-05 16:03:08 +0300 |
commit | 8edef99a5b52643e0b919c424357752cbbc9a8dd (patch) | |
tree | c7ae9c113d29aa3350eca04f27a933bd3b5f769c /src/converter/struct_to_file.hpp | |
parent | 2b03fece7f5895591eabd2f04baa2df19b4c3417 (diff) | |
parent | 3f1f70a3b945605c6abb7d23f46042b963db243a (diff) | |
download | obmc-sila-smtp-8edef99a5b52643e0b919c424357752cbbc9a8dd.tar.xz |
Merge branch 'refactor/3009'
Diffstat (limited to 'src/converter/struct_to_file.hpp')
-rw-r--r-- | src/converter/struct_to_file.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/converter/struct_to_file.hpp b/src/converter/struct_to_file.hpp index 22f7260..67a9f96 100644 --- a/src/converter/struct_to_file.hpp +++ b/src/converter/struct_to_file.hpp @@ -1,8 +1,5 @@ #pragma once -#include <unordered_map> -#include <string> - #include "management/general.hpp" namespace smtp::converter @@ -13,7 +10,7 @@ namespace smtp::converter StructToFile() = default; ~StructToFile() = default; - std::unordered_map<std::string, std::string> Convert( manage::SettingsFields const& from ) const; + manage::SettingsFileDataType Convert( manage::SettingsFields const& from ) const; private: void ApplyAuth( manage::SettingsFields const& from, manage::SettingsFileDataType& result ) const; void ApplySsl( manage::SettingsFields const& from, manage::SettingsFileDataType& result ) const; |