Removed unused param

pull/32/head
Geoffrey Merck 4 years ago
parent da45d7dc80
commit 02a1f5dd89

@ -18,7 +18,7 @@
#include "StringUtils.h"
size_t CStringUtils::find_nth(const std::string& haystack, size_t pos, char needle, size_t nth)
size_t CStringUtils::find_nth(const std::string& haystack, char needle, size_t nth)
{
size_t matches = 0U;
auto haystackLength = haystack.length();

@ -37,5 +37,5 @@ public:
return std::string( buf.get(), buf.get() + size - 1 ); // We don't want the '\0' inside
}
static size_t find_nth(const std::string& haystack, size_t pos, char needle, size_t nth);
static size_t find_nth(const std::string& haystack, char needle, size_t nth);
};

Loading…
Cancel
Save

Powered by TurnKey Linux.