sgml: Silence unreferenced parameter warning
This parameter is needed to provide compatibility between utf16_t and utf32_t, so we may call this function from a single template for both types. Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
d738c9f8fd
commit
e558c9f244
@ -532,6 +532,7 @@ namespace stdex
|
|||||||
|
|
||||||
inline utf32_t wstr_to_utf32(_In_reads_(end) const utf32_t* src, _Inout_ size_t& i, _In_ size_t end)
|
inline utf32_t wstr_to_utf32(_In_reads_(end) const utf32_t* src, _Inout_ size_t& i, _In_ size_t end)
|
||||||
{
|
{
|
||||||
|
_Unreferenced_(end);
|
||||||
_Assume_(i < end);
|
_Assume_(i < end);
|
||||||
return src[i++];
|
return src[i++];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user