Removed unused function.

This commit is contained in:
Patrick Lühne 2017-06-01 03:43:18 +02:00
parent 85614296e2
commit 663c59c470
No known key found for this signature in database
GPG Key ID: 05F3611E97A70ABF
1 changed files with 0 additions and 13 deletions

View File

@ -17,19 +17,6 @@ namespace anthem
//
////////////////////////////////////////////////////////////////////////////////////////////////////
inline bool isPrefix(const char *prefix, const char *string)
{
const auto prefixLength = std::strlen(prefix);
const auto stringLength = std::strlen(string);
if (stringLength < prefixLength)
return false;
return std::strncmp(prefix, string, prefixLength) == 0;
}
////////////////////////////////////////////////////////////////////////////////////////////////////
constexpr const auto HeadVariablePrefix = "V";
constexpr const auto BodyVariablePrefix = "X";
constexpr const auto UserVariablePrefix = "U";