Skip to content

Commit

Permalink
Remove count from mvkStringsAreEqual
Browse files Browse the repository at this point in the history
It doesn't do anything, and we don't want anyone to think it does something
  • Loading branch information
etang-cw committed Sep 27, 2023
1 parent aeae18d commit 89195dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MoltenVK/MoltenVK/Utility/MVKFoundation.h
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ bool mvkAreEqual(const T* pV1, const T* pV2, size_t count = 1) {
* which works on individual chars or char arrays, not strings.
* Returns false if either string is null.
*/
static constexpr bool mvkStringsAreEqual(const char* pV1, const char* pV2, size_t count = 1) {
static constexpr bool mvkStringsAreEqual(const char* pV1, const char* pV2) {
return pV1 && pV2 && (pV1 == pV2 || strcmp(pV1, pV2) == 0);
}

Expand Down

0 comments on commit 89195dc

Please sign in to comment.