Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix code quality test warnings #979

Open
wants to merge 1 commit into
base: uwp/main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion winrt/lib/drawing/CanvasDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,7 @@ namespace ABI { namespace Microsoft { namespace Graphics { namespace Canvas
{
// the way this variable/function is declared, the TraceLoggingWrite call here will only fire once
// per process, even if LogCreateCanvasDevice() is called more than once.
static bool createCanvasDeviceLoggedOnce = []()
static bool createCanvasDeviceLoggedOnce = []
{
TraceLoggingWrite(
g_hTelemetryProvider,
Expand Down
4 changes: 2 additions & 2 deletions winrt/lib/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
#endif

#ifndef WIN2D_DLL_EXPORT
#define WIN2D_DLL_EXPORT // Mark public C APIs as being exported (whereas external consumers will import them)
#define WIN2D_DLL_EXPORT // Mark public C APIs as being exported (whereas external consumers will import them)
#endif

#if defined(_M_IX86) && defined(_MSC_VER)
#ifndef ARCH_X86
#define ARCH_X86 // Used to detect the x86 architecture so fixups for C exports can be added
#define ARCH_X86 // Used to detect the x86 architecture so fixups for C exports can be added
#endif
#endif

Expand Down
2 changes: 1 addition & 1 deletion winrt/test.internal/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ using namespace ABI::Microsoft::Graphics::Canvas::Effects;

#if defined(_M_IX86) && defined(_MSC_VER)
#ifndef ARCH_X86
#define ARCH_X86 // Used to detect the x86 architecture so fixups for C exports can be added
#define ARCH_X86 // Used to detect the x86 architecture so fixups for C exports can be added
#endif
#endif

Expand Down