mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
Make it work again
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
//
|
||||
|
||||
#include "Poco/MongoDB/ResponseMessage.h"
|
||||
#include "Poco/MongoDB/BSONReader.h"
|
||||
#include "Poco/Net/SocketStream.h"
|
||||
|
||||
namespace Poco
|
||||
@@ -75,9 +74,8 @@ void ResponseMessage::read(std::istream& istr)
|
||||
|
||||
for(int i = 0; i < _numberReturned; ++i)
|
||||
{
|
||||
DocumentPtr doc = new Document();
|
||||
BSONReader bsonReader(reader);
|
||||
bsonReader.read(*doc);
|
||||
Document::Ptr doc = new Document();
|
||||
doc->read(reader);
|
||||
_documents.push_back(doc);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user