summaryrefslogtreecommitdiff
path: root/util/optime.h
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2010-06-28 17:29:15 -0400
committerdwight <dwight@10gen.com>2010-06-28 17:29:15 -0400
commit331ae13dc14448e5b2d30a1f5154e671222585d9 (patch)
tree7141760c9fa66661de57aff454b07ff003dbdeb0 /util/optime.h
parent8851e9ed48adacf5cdf8dd224ffcec4f73d874e8 (diff)
downloadmongo-331ae13dc14448e5b2d30a1f5154e671222585d9.tar.gz
rs add h field in logOp
Diffstat (limited to 'util/optime.h')
-rw-r--r--util/optime.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/optime.h b/util/optime.h
index f80d3a36145..fd8dd3c2229 100644
--- a/util/optime.h
+++ b/util/optime.h
@@ -94,6 +94,9 @@ namespace mongo {
unsigned long long asDate() const {
return *((unsigned long long *) &i);
}
+ long long asLL() const {
+ return *((long long *) &i);
+ }
// unsigned long long& asDate() { return *((unsigned long long *) &i); }
bool isNull() {