summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-02-10 13:52:05 +0000
committerChris Wilson <chris+github@qwirx.com>2014-02-10 13:52:05 +0000
commit31c7bfed9caa2e245377c458bc1c271eed61c5f4 (patch)
treebb229cf8238b51e00deb87abf34c8597fd5c3b6d
parente70c2272d431c8650f8d7bb2eedb32f8b7a51874 (diff)
Reformat for readability, add defensive comment.
-rw-r--r--lib/backupstore/BackupStoreContext.cpp20
1 files changed, 11 insertions, 9 deletions
diff --git a/lib/backupstore/BackupStoreContext.cpp b/lib/backupstore/BackupStoreContext.cpp
index f55b1dc8..db0b11c8 100644
--- a/lib/backupstore/BackupStoreContext.cpp
+++ b/lib/backupstore/BackupStoreContext.cpp
@@ -55,15 +55,17 @@
// --------------------------------------------------------------------------
BackupStoreContext::BackupStoreContext(int32_t ClientID,
HousekeepingInterface &rDaemon, const std::string& rConnectionDetails)
- : mConnectionDetails(rConnectionDetails),
- mClientID(ClientID),
- mrDaemon(rDaemon),
- mProtocolPhase(Phase_START),
- mClientHasAccount(false),
- mStoreDiscSet(-1),
- mReadOnly(true),
- mSaveStoreInfoDelay(STORE_INFO_SAVE_DELAY),
- mpTestHook(NULL)
+: mConnectionDetails(rConnectionDetails),
+ mClientID(ClientID),
+ mrDaemon(rDaemon),
+ mProtocolPhase(Phase_START),
+ mClientHasAccount(false),
+ mStoreDiscSet(-1),
+ mReadOnly(true),
+ mSaveStoreInfoDelay(STORE_INFO_SAVE_DELAY),
+ mpTestHook(NULL)
+// If you change the initialisers, be sure to update
+// BackupStoreContext::ReceivedFinishCommand as well!
{
}