MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / Set

Method Set

WinArk/Settings.cpp:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include "IniFile.h"
4
5void Settings::Set(PCWSTR name, std::vector<std::wstring> const& values) {
6 Setting s(name, values);
7 _settings.erase(name);
8 _settings.insert({ name, std::move(s) });
9}
10
11bool Settings::LoadFromKey(PCWSTR registryPath) {
12 if (registryPath == nullptr)

Callers 2

LoadFromKeyMethod · 0.45
LoadFromFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected