Skip to content

Commit 9fc6534

Browse files
committed
Fix build break due to release/2.0 to master merge
1 parent 752b2a5 commit 9fc6534

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Common/Codex/Utf8Helper.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ namespace utf8
4747
}
4848

4949
template <class Allocator>
50-
HRESULT WideStringToNarrow(_In_ LPCWSTR sourceString, size_t sourceCount, _Out_ LPSTR* destStringPtr, _Out_ size_t* destCount)
50+
HRESULT WideStringToNarrow(_In_ LPCWSTR sourceString, size_t sourceCount, _Out_ LPSTR* destStringPtr, _Out_ size_t* destCount, size_t* allocateCount = nullptr)
5151
{
52-
return WideStringToNarrow(Allocator::allocate, sourceString, sourceCount, destStringPtr, destCount);
52+
return WideStringToNarrow(Allocator::allocate, sourceString, sourceCount, destStringPtr, destCount, allocateCount);
5353
}
5454

5555
///
@@ -115,7 +115,7 @@ namespace utf8
115115
}
116116
return S_OK;
117117
}
118-
118+
119119
template <class Allocator>
120120
HRESULT NarrowStringToWide(_In_ LPCSTR sourceString, size_t sourceCount, _Out_ LPWSTR* destStringPtr, _Out_ size_t* destCount, size_t* allocateCount = nullptr)
121121
{

0 commit comments

Comments
 (0)