From e09f043f4b6669c17e8d86a904035fc51bca2858 Mon Sep 17 00:00:00 2001 From: Michael van der Werve Date: Wed, 21 Oct 2020 14:56:03 +0200 Subject: [PATCH] missing =0 on flags --- include/amqpcpp/reliable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/amqpcpp/reliable.h b/include/amqpcpp/reliable.h index ecd0100..373f390 100644 --- a/include/amqpcpp/reliable.h +++ b/include/amqpcpp/reliable.h @@ -250,7 +250,7 @@ public: * @param size size of the message * @param flags optional flags */ - DeferredPublish &publish(const std::string &exchange, const std::string &routingKey, const Envelope &envelope, int flags) + DeferredPublish &publish(const std::string &exchange, const std::string &routingKey, const Envelope &envelope, int flags = 0) { // publish the entire thing, and remember if it failed at any point uint64_t tag = BASE::publish(exchange, routingKey, envelope, flags);