| 1165 | { |
| 1166 | std::unique_lock<std::mutex> lock(savedVariables_Mutex); |
| 1167 | auto i = savedVariables.find(name); |
| 1168 | if (i != savedVariables.end()) v = i->second; |
| 1169 | } |
| 1170 | switch (v.index()) |
| 1171 | { |
| 1172 | case typepack::value::Type::Bool: return v.toBool(); |
| 1173 | case typepack::value::Type::Int: return v.toInt(); |
nothing calls this directly
no outgoing calls
no test coverage detected