0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

overassert fixed

This commit is contained in:
Dwight 2008-04-07 13:35:58 -04:00
parent f26b090d41
commit 993e4fd967
2 changed files with 10 additions and 10 deletions

View File

@ -107,15 +107,6 @@ private:
const char *theEnd;
};
#pragma pack(push)
#pragma pack(1)
struct EmptyObject {
EmptyObject() { len = 5; jstype = EOO; }
int len;
char jstype;
} emptyObject;
#pragma pack(pop)
void killCursors(int n, long long *ids);
void receivedKillCursors(Message& m) {
int *x = (int *) m.data->_data;

View File

@ -16,7 +16,16 @@ LRUishMap<JSObj,DiskLoc,5> lrutest(123);
int nextCursorId = 1;
JSObj emptyObj;
#pragma pack(push)
#pragma pack(1)
struct EmptyObject {
EmptyObject() { len = 5; jstype = EOO; }
int len;
char jstype;
} emptyObject;
#pragma pack(pop)
JSObj emptyObj((char *) &emptyObject);
int getGtLtOp(Element& e);
void appendElementHandlingGtLt(JSObjBuilder& b, Element& e);