| 21 | #include "fdbclient/WriteMap.h" |
| 22 | |
| 23 | void OperationStack::reset(RYWMutation initialEntry) { |
| 24 | defaultConstructed = false; |
| 25 | singletonOperation = initialEntry; |
| 26 | optionalOperations = Optional<std::vector<RYWMutation>>(); |
| 27 | } |
| 28 | |
| 29 | void OperationStack::poppush(RYWMutation entry) { |
| 30 | if (hasVector()) { |