Skip to content

Commit 550ed6b

Browse files
author
Linnea May
committed
pr comments
1 parent 0580f77 commit 550ed6b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Samples/WinMLSamplesGallery/WinMLSamplesGalleryNative/External/CSampleQueue.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ HRESULT CSampleQueue::Create(
2323
CSampleQueue** ppQueue)
2424
{
2525
HRESULT hr = S_OK;
26-
CSampleQueue* pNewQueue = NULL;
26+
CSampleQueue* pNewQueue = nullptr;
2727

2828
do
2929
{
@@ -49,7 +49,7 @@ HRESULT CSampleQueue::Create(
4949
return hr;
5050
}
5151

52-
ULONG CSampleQueue::AddRef(void)
52+
ULONG CSampleQueue::AddRef()
5353
{
5454
return InterlockedIncrement(&m_ulRef);
5555
}

Samples/WinMLSamplesGallery/WinMLSamplesGalleryNative/TransformAsync.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void TransformAsync::SetModelBasePath(winrt::hstring path) {
8484
}
8585

8686
#pragma region IUnknown
87-
ULONG TransformAsync::AddRef(void)
87+
ULONG TransformAsync::AddRef()
8888
{
8989
return InterlockedIncrement(&m_refCount);
9090
}

0 commit comments

Comments
 (0)