Update logging to reflect msvc updates on std::format (#883)

This commit is contained in:
kizer 2022-06-17 17:28:10 +09:00 committed by GitHub
parent c6cf47ea2d
commit 2f4c0bbc97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 238 additions and 183 deletions

View file

@ -218,9 +218,7 @@ namespace utils {
}
template<typename T>
T get_env(const wchar_t* pcwzName) {
static_assert(false);
}
T get_env(const wchar_t* pcwzName) = delete;
template<>
std::wstring get_env(const wchar_t* pcwzName);
@ -240,9 +238,7 @@ namespace utils {
}
template<typename T>
std::vector<T> get_env_list(const wchar_t* pcwzName) {
static_assert(false);
}
std::vector<T> get_env_list(const wchar_t* pcwzName) = delete;
template<>
std::vector<std::wstring> get_env_list(const wchar_t* pcwzName);