Minor code review

This commit is contained in:
Chuck Walbourn
2020-01-19 01:36:52 -08:00
parent 20a685d62f
commit ded992f48a
4 changed files with 8 additions and 8 deletions

View File

@@ -363,7 +363,7 @@ namespace
struct find_closer { void operator()(HANDLE h) { assert(h != INVALID_HANDLE_VALUE); if (h) FindClose(h); } };
typedef std::unique_ptr<void, find_closer> ScopedFindHandle;
using ScopedFindHandle = std::unique_ptr<void, find_closer>;
#ifdef _PREFAST_
#pragma prefast(disable : 26018, "Only used with static internal arrays")