diff --git a/include/anthem/Utils.h b/include/anthem/Utils.h index 439cfd8..660597b 100644 --- a/include/anthem/Utils.h +++ b/include/anthem/Utils.h @@ -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";