Commit 31c9ec10 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[3534] Fixed invalid condition.

parent 892a60a7
...@@ -374,7 +374,7 @@ CfgMgr::clear() { ...@@ -374,7 +374,7 @@ CfgMgr::clear() {
void void
CfgMgr::commit() { CfgMgr::commit() {
ensureCurrentAllocated(); ensureCurrentAllocated();
if (configs_.back()->sequenceEquals(*configuration_)) { if (!configs_.back()->sequenceEquals(*configuration_)) {
configuration_ = configs_.back(); configuration_ = configs_.back();
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment