add assignment operator for when EnumClass is used in a Builder

This commit is contained in:
Nicu Hodos 2025-06-07 08:29:23 +02:00
parent 57160661ec
commit 464b4f1645

View File

@ -9,6 +9,10 @@ public:
value = v;
}
void operator=(const char* v) {
value = v;
}
operator const char*() {
return value;
}