MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / Reset

Method Reset

vkconfig_core/setting_string.cpp:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66SettingDataString::SettingDataString(const std::string& key, const SettingType& type) : SettingData(key, type), meta(nullptr) {}
67
68void SettingDataString::Reset() {
69 assert(meta != nullptr);
70 this->value = this->meta->default_value;
71}
72
73void SettingDataString::Copy(const SettingData* data) {
74 if (data->type != this->type) return;

Callers 2

SettingDataStringMethod · 0.95
InstantiateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected