You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
341 B
18 lines
341 B
#pragma once |
|
|
|
#include <string> |
|
|
|
#include "utils/stdcompat/string_view.hpp" |
|
|
|
namespace devilution { |
|
|
|
void AsciiStrToLower(std::string &str); |
|
|
|
[[nodiscard]] inline std::string AsciiStrToLower(string_view str) |
|
{ |
|
std::string copy { str.data(), str.size() }; |
|
AsciiStrToLower(copy); |
|
return copy; |
|
} |
|
|
|
} // namespace devilution
|
|
|