summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2009-12-03 17:25:22 -0500
committerMathias Stearn <mathias@10gen.com>2009-12-09 12:00:17 -0500
commitdcf3a10eeaef2ea22678c9ae9aaa1fa2e9a81fa2 (patch)
tree19aabb73c5112dfea9ec12a548a21a83e9a1cb20 /client
parent5660a25e9bf3bb86e2c84a3581154efc2d7d1b11 (diff)
downloadmongo-dcf3a10eeaef2ea22678c9ae9aaa1fa2e9a81fa2.tar.gz
Start using Date_t. Can anyone think of a better name?
Diffstat (limited to 'client')
-rw-r--r--client/examples/clientTest.cpp2
-rw-r--r--client/gridfs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/examples/clientTest.cpp b/client/examples/clientTest.cpp
index 8f983757c63..ef1b760ab70 100644
--- a/client/examples/clientTest.cpp
+++ b/client/examples/clientTest.cpp
@@ -161,7 +161,7 @@ int main( int argc, const char **argv ) {
}
mongo::BSONObj out = conn.findOne( tsns , mongo::BSONObj() );
- unsigned long long oldTime = out["ts"].timestampTime();
+ Date_t oldTime = out["ts"].timestampTime();
unsigned int oldInc = out["ts"].timestampInc();
{
diff --git a/client/gridfs.h b/client/gridfs.h
index e209d9f8e28..3165d5f2988 100644
--- a/client/gridfs.h
+++ b/client/gridfs.h
@@ -158,7 +158,7 @@ namespace mongo {
return _obj["contentType"].valuestr();
}
- unsigned long long getUploadDate(){
+ Date_t getUploadDate(){
return _obj["uploadDate"].date();
}