versionbits: Expose StateName function

Rather than essentially duplicating StateName in the unit tests, expose
it via the impl header.
This commit is contained in:
Anthony Towns
2023-12-09 10:15:15 +10:00
parent d00d1ed52c
commit e74a7049b4
3 changed files with 4 additions and 13 deletions

View File

@@ -11,7 +11,7 @@
using enum ThresholdState;
static std::string StateName(ThresholdState state)
std::string StateName(ThresholdState state)
{
switch (state) {
case DEFINED: return "defined";