mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-21 18:11:11 +00:00
Apply some refactoring/cleanup to mainly util functions
This commit is contained in:
parent
89e3bc8d56
commit
e73eed247e
19 changed files with 190 additions and 160 deletions
|
@ -270,7 +270,7 @@ const std::string &get_sysinfo()
|
|||
}
|
||||
|
||||
|
||||
bool getCurrentWorkingDir(char *buf, size_t len)
|
||||
[[maybe_unused]] static bool getCurrentWorkingDir(char *buf, size_t len)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
DWORD ret = GetCurrentDirectory(len, buf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue