Refactored include diagram visitors

This commit is contained in:
Bartek Kryza
2022-04-11 23:39:03 +02:00
parent b1b09ab6e8
commit 98f83bc18b
8 changed files with 132 additions and 89 deletions

View File

@@ -230,5 +230,10 @@ bool starts_with(
return pref == pat;
}
template <> bool starts_with(const std::string &s, const std::string &prefix)
{
return s.rfind(prefix, 0) == 0;
}
}
}