MCPcopy Create free account
hub / github.com/apache/trafficserver / restore

Method restore

lib/yamlcpp/src/setting.h:31–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 const T get() const { return m_value; }
30 std::unique_ptr<SettingChangeBase> set(const T& value);
31 void restore(const Setting<T>& oldSetting) { m_value = oldSetting.get(); }
32
33 private:
34 T m_value;

Callers 7

EndedGroupMethod · 0.45
popMethod · 0.45
create_statMethod · 0.45
create_stat_nameFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected