Remove count from mvkStringsAreEqual
It doesn't do anything, and we don't want anyone to think it does something
This commit is contained in:
parent
aeae18d48b
commit
89195dc725
@ -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.
|
* which works on individual chars or char arrays, not strings.
|
||||||
* Returns false if either string is null.
|
* 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);
|
return pV1 && pV2 && (pV1 == pV2 || strcmp(pV1, pV2) == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user