Fix build & test

This commit is contained in:
Nikolay Degterinsky 2023-05-22 15:45:18 +00:00
parent 183f90e45a
commit 90f4b17778
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
version: '2.3'
services:
mongo1:
image: mongo:5.1
image: mongo:6.0
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: root
@ -11,7 +11,7 @@ services:
command: --profile=2 --verbose
mongo2:
image: mongo:5.0
image: mongo:6.0
restart: always
ports:
- ${MONGO_NO_CRED_EXTERNAL_PORT:-27017}:${MONGO_NO_CRED_INTERNAL_PORT:-27017}

View File

@ -424,7 +424,7 @@ Poco::MongoDB::Document::Vector MongoDBCursor::nextDocuments(Poco::MongoDB::Conn
}
}
Int64 MongoDBCursor::cursorID()
Int64 MongoDBCursor::cursorID() const
{
return cursorID_;
}

View File

@ -47,7 +47,7 @@ public:
Poco::MongoDB::Document::Vector nextDocuments(Poco::MongoDB::Connection & connection);
Int64 cursorID();
Int64 cursorID() const;
private:
const bool is_wire_protocol_old;