| 4 | namespace advss { |
| 5 | |
| 6 | void StringVariable::Resolve() const |
| 7 | { |
| 8 | if (GetVariables().empty()) { |
| 9 | _resolvedValue = _value; |
| 10 | return; |
| 11 | } |
| 12 | const auto lastChange = GetLastVariableChangeTime(); |
| 13 | if (_lastResolve == lastChange) { |
| 14 | return; |
| 15 | } |
| 16 | _resolvedValue = SubstitueVariables(_value); |
| 17 | _lastResolve = lastChange; |
| 18 | } |
| 19 | |
| 20 | StringVariable::operator std::string() const |
| 21 | { |
nothing calls this directly
no test coverage detected