File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -522,8 +522,7 @@ wsl::windows::common::wslutil::GetDefaultVersion(void)
522522 return version;
523523}
524524
525- namespace
526- {
525+ namespace {
527526
528527// Returns true if the current process is running as a shadow admin under
529528// Windows Admin Protection. Caches the DLL lookup on first call.
@@ -539,8 +538,7 @@ bool IsAdminProtectionEnabled()
539538 static std::optional<LxssDynamicFunction<ShadowAdminEnabledFn>> s_fn;
540539 static std::once_flag s_initFlag;
541540
542- std::call_once (s_initFlag, []()
543- {
541+ std::call_once (s_initFlag, []() {
544542 LxssDynamicFunction<ShadowAdminEnabledFn> fn{DynamicFunctionErrorLogs::None};
545543 if (SUCCEEDED (fn.load (L" SecurityHealthUdk.dll" , " Shield_LUAIsShadowAdminEnabled" )))
546544 {
You can’t perform that action at this time.
0 commit comments