mirror of
https://github.com/microsoft/UVAtlas
synced 2024-11-09 22:00:06 +00:00
std::ignore usage instead of (void) for ignoring return values
This commit is contained in:
parent
1a0d6e3830
commit
09e6061114
@ -36,6 +36,7 @@
|
||||
#include <new>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
|
||||
#include <conio.h>
|
||||
|
||||
@ -1508,7 +1509,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
|
||||
|
||||
if (dwOptions & (uint64_t(1) << OPT_TOLOWER))
|
||||
{
|
||||
(void)_wcslwr_s(outputPath);
|
||||
std::ignore = _wcslwr_s(outputPath);
|
||||
}
|
||||
|
||||
if (~dwOptions & (uint64_t(1) << OPT_OVERWRITE))
|
||||
@ -1605,7 +1606,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
|
||||
|
||||
if (dwOptions & (uint64_t(1) << OPT_TOLOWER))
|
||||
{
|
||||
(void)_wcslwr_s(outputPath);
|
||||
std::ignore = _wcslwr_s(outputPath);
|
||||
}
|
||||
|
||||
if (~dwOptions & (uint64_t(1) << OPT_OVERWRITE))
|
||||
|
Loading…
Reference in New Issue
Block a user