a number of low-level tweaks from code review

This commit is contained in:
Vern Paxson 2021-08-19 10:15:44 -07:00
parent c10737d168
commit b6daf14868
12 changed files with 79 additions and 80 deletions

View file

@ -281,7 +281,7 @@ protected:
// profile is compilable. Alternatively we could derive subclasses
// from ProfileFuncs and use a virtual method for this, but that seems
// heavier-weight for what's really a simple notion.
typedef bool (*is_compilable_pred)(const ProfileFunc*, const char** reason);
using is_compilable_pred = bool (*)(const ProfileFunc*, const char** reason);
// Collectively profile an entire collection of functions.
class ProfileFuncs {