1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-01 13:21:13 +02:00

Match function definition and declaration arguments.

This commit is contained in:
Guillaume Chatelet
2018-06-20 09:18:57 +02:00
parent 9f9a8d4b6e
commit 26133d3b62
2 changed files with 6 additions and 5 deletions

View File

@ -61,7 +61,8 @@ bool CpuFeatures_StringView_StartsWith(const StringView a, const StringView b);
// Removes count characters from the beginning of view or kEmptyStringView if
// count if greater than view.size.
StringView CpuFeatures_StringView_PopFront(const StringView view, size_t count);
StringView CpuFeatures_StringView_PopFront(const StringView str_view,
size_t count);
// Removes count characters from the end of view or kEmptyStringView if count if
// greater than view.size.
@ -70,7 +71,7 @@ StringView CpuFeatures_StringView_PopBack(const StringView str_view,
// Keeps the count first characters of view or view if count if greater than
// view.size.
StringView CpuFeatures_StringView_KeepFront(const StringView view,
StringView CpuFeatures_StringView_KeepFront(const StringView str_view,
size_t count);
// Retrieves the first character of view. If view is empty the behavior is