diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-02-10 11:47:13 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-02-10 11:47:13 -0500 |
commit | 6fccb3bca4619f23002ad6ab3a382fdc992a01f1 (patch) | |
tree | 652562e37a15f5c8de32e9b06008497bd4544ecc /util | |
parent | 621b4f0338164a33fe5a3452ffd4060a3a5ebd9b (diff) | |
download | mongo-6fccb3bca4619f23002ad6ab3a382fdc992a01f1.tar.gz |
cleaner pointer handling in SlaveTracking
Diffstat (limited to 'util')
-rw-r--r-- | util/optime.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/optime.h b/util/optime.h index 6eb55abb86c..7e6be4d57de 100644 --- a/util/optime.h +++ b/util/optime.h @@ -56,6 +56,10 @@ namespace mongo { secs = a; i = b; } + OpTime( const OpTime& other ) { + secs = other.secs; + i = other.i; + } OpTime() { secs = 0; i = 0; |