Renamed private members

This commit is contained in:
fourtf
2018-07-06 19:23:47 +02:00
parent 6935619820
commit 280bb4cf8e
141 changed files with 1754 additions and 1861 deletions
+3 -3
View File
@@ -69,18 +69,18 @@ void Settings::saveSnapshot()
d->AddMember(key.Move(), val.Move(), a);
}
this->snapshot.reset(d);
this->snapshot_.reset(d);
Log("hehe: {}", pajlada::Settings::SettingManager::stringify(*d));
}
void Settings::restoreSnapshot()
{
if (!this->snapshot) {
if (!this->snapshot_) {
return;
}
const auto &snapshotObject = this->snapshot->GetObject();
const auto &snapshotObject = this->snapshot_->GetObject();
for (const auto &weakSetting : _settings) {
auto setting = weakSetting.lock();