summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-09-30 09:56:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-09-30 12:13:35 +0200
commitcbe233766dc4cb028446aa599609b1a7d594785e (patch)
tree26b5e4e93e28af8085af0696bdb55b2fa660745a /sal/osl
parent8294268307d98d3ea04f18a2ed89212cec516845 (diff)
loplugin:unusedcapturedefault (clang-cl)
Change-Id: Ib7b3bfb7a3162e032cf6c9bf7f19576434592a00 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122849 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/w32/time.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/time.cxx b/sal/osl/w32/time.cxx
index 688fef211519..3f11746fedad 100644
--- a/sal/osl/w32/time.cxx
+++ b/sal/osl/w32/time.cxx
@@ -35,7 +35,7 @@ sal_Bool SAL_CALL osl_getSystemTime(TimeValue* pTimeVal)
OSL_ASSERT(pTimeVal != nullptr);
- static GetSystemTimePreciseAsFileTime_PROC pGetSystemTimePreciseAsFileTime = [&]()
+ static GetSystemTimePreciseAsFileTime_PROC pGetSystemTimePreciseAsFileTime = []()
{
HMODULE hModule = GetModuleHandleW( L"Kernel32.dll" );
return reinterpret_cast<GetSystemTimePreciseAsFileTime_PROC>(