Leverage QScopedValueRollback for PushValue.

Authored by mwolff on Jan 8 2016, 9:47 PM.

Description

Leverage QScopedValueRollback for PushValue.

Note that the constructor usage of these two classes behaves
differently when you only pass one arg:

PushValue will always push a default constructed new value, e.g. false
in the common case. QScopedValueRollback otoh won't push anything
then, it only pushes in the explicit two-value ctor.

Details

Committed
mwolffJan 8 2016, 9:47 PM
Parents
R32:b21b35ddf3d8: Revert "PushValue: Base on QScopedValueRollback"
Branches
Unknown
Tags
Unknown