mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-01-29 18:32:38 +00:00
fix: remove logging::bracket "*_view" overloads (#2919)
This commit is contained in:
parent
f4dda21248
commit
369158375f
@ -172,22 +172,12 @@ namespace logging {
|
||||
|
||||
std::string
|
||||
bracket(const std::string &input) {
|
||||
return bracket(std::string_view(input));
|
||||
}
|
||||
|
||||
std::string
|
||||
bracket(const std::string_view &input) {
|
||||
return "["s + std::string(input) + "]"s;
|
||||
return "["s + input + "]"s;
|
||||
}
|
||||
|
||||
std::wstring
|
||||
bracket(const std::wstring &input) {
|
||||
return bracket(std::wstring_view(input));
|
||||
}
|
||||
|
||||
std::wstring
|
||||
bracket(const std::wstring_view &input) {
|
||||
return L"["s + std::wstring(input) + L"]"s;
|
||||
return L"["s + input + L"]"s;
|
||||
}
|
||||
|
||||
} // namespace logging
|
||||
|
@ -212,14 +212,6 @@ namespace logging {
|
||||
std::string
|
||||
bracket(const std::string &input);
|
||||
|
||||
/**
|
||||
* @brief Enclose string in square brackets.
|
||||
* @param input Input string.
|
||||
* @return Enclosed string.
|
||||
*/
|
||||
std::string
|
||||
bracket(const std::string_view &input);
|
||||
|
||||
/**
|
||||
* @brief Enclose string in square brackets.
|
||||
* @param input Input string.
|
||||
@ -228,12 +220,4 @@ namespace logging {
|
||||
std::wstring
|
||||
bracket(const std::wstring &input);
|
||||
|
||||
/**
|
||||
* @brief Enclose string in square brackets.
|
||||
* @param input Input string.
|
||||
* @return Enclosed string.
|
||||
*/
|
||||
std::wstring
|
||||
bracket(const std::wstring_view &input);
|
||||
|
||||
} // namespace logging
|
||||
|
Loading…
x
Reference in New Issue
Block a user