mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-24 17:30:44 +02:00
Make it work again
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
//
|
||||
|
||||
#include "Poco/MongoDB/UpdateRequest.h"
|
||||
#include "Poco/MongoDB/BSONWriter.h"
|
||||
|
||||
namespace Poco
|
||||
{
|
||||
@@ -59,12 +58,11 @@ UpdateRequest::~UpdateRequest()
|
||||
|
||||
void UpdateRequest::buildRequest(BinaryWriter& writer)
|
||||
{
|
||||
BSONWriter bsonWriter(writer);
|
||||
writer << 0; // 0 - reserved for future use
|
||||
bsonWriter.writeCString(_fullCollectionName);
|
||||
BSONWriter(writer).writeCString(_fullCollectionName);
|
||||
writer << _flags;
|
||||
bsonWriter.write(_selector);
|
||||
bsonWriter.write(_update);
|
||||
_selector.write(writer);
|
||||
_update.write(writer);
|
||||
}
|
||||
|
||||
}} // Namespace MongoDB
|
||||
|
||||
Reference in New Issue
Block a user