#3363: Fixed compilation error with MongoDB::Connection and Util::Application

This commit is contained in:
Günter Obiltschnig 2021-11-05 14:19:01 +01:00
parent 931143df85
commit f71cc32f0b

View File

@ -26,8 +26,11 @@ namespace Poco {
namespace MongoDB { namespace MongoDB {
class Message; // Required to disambiguate friend declaration in MessageHeader.
class MongoDB_API MessageHeader class MongoDB_API MessageHeader
/// Represents the message header which is always prepended to a /// Represents the message header which is always prepended to a
/// MongoDB request or response message. /// MongoDB request or response message.
{ {
public: public:
@ -70,7 +73,7 @@ public:
/// Sets the request ID of the current message. /// Sets the request ID of the current message.
Int32 responseTo() const; Int32 responseTo() const;
/// Returns the request id from the original request. /// Returns the request id from the original request.
private: private:
void setMessageLength(Int32 length); void setMessageLength(Int32 length);