XXXX mk: C++ 20 has in-line initialization for bit-fields...
| 172 | |
| 173 | // XXXX mk: C++ 20 has in-line initialization for bit-fields... |
| 174 | VariableState() { memset(this, 0, sizeof(VariableState)); } |
| 175 | VariableState(VariableType::Type type, SetBy setby) : read_only(false), cheat(false), type(type), setby(setby) {} |
| 176 | VariableState(bool ronly, bool cheat, VariableType::Type type, SetBy setby) : read_only(ronly), cheat(cheat), type(type), setby(setby) {} |
| 177 |
nothing calls this directly
no outgoing calls
no test coverage detected