From 42aec543332e265a7033b27379c87c3387a80de6 Mon Sep 17 00:00:00 2001 From: RafalGoslawski Date: Mon, 5 Oct 2020 15:44:33 +0200 Subject: [PATCH] Change windows line endings to unix ones and fix whitespace (spaces not tabs). --- src/deferredconfirm.cpp | 84 ++++++++++++++++++------------------- src/linux_tcp/tcpinbuffer.h | 2 +- 2 files changed, 43 insertions(+), 43 deletions(-) diff --git a/src/deferredconfirm.cpp b/src/deferredconfirm.cpp index 7a1ce22..6ed5401 100644 --- a/src/deferredconfirm.cpp +++ b/src/deferredconfirm.cpp @@ -1,42 +1,42 @@ -/** - * DeferredConfirm.cpp - * - * Implementation file for the DeferredConfirm class - * - * @author Marcin Gibula - * @copyright 2018 Copernica BV - */ -#include "includes.h" -#include "basicackframe.h" -#include "basicnackframe.h" - -/** - * Namespace - */ -namespace AMQP { - -/** - * Process an ACK frame - * - * @param frame The frame to process - */ -void DeferredConfirm::process(BasicAckFrame &frame) -{ - if (_ackCallback) _ackCallback(frame.deliveryTag(), frame.multiple()); -} - -/** - * Process a NACK frame - * - * @param frame The frame to process - */ -void DeferredConfirm::process(BasicNackFrame &frame) -{ - if (_nackCallback) _nackCallback(frame.deliveryTag(), frame.multiple(), frame.requeue()); -} - -/** - * End namespace - */ -} - +/** + * DeferredConfirm.cpp + * + * Implementation file for the DeferredConfirm class + * + * @author Marcin Gibula + * @copyright 2018 Copernica BV + */ +#include "includes.h" +#include "basicackframe.h" +#include "basicnackframe.h" + +/** + * Namespace + */ +namespace AMQP { + +/** + * Process an ACK frame + * + * @param frame The frame to process + */ +void DeferredConfirm::process(BasicAckFrame &frame) +{ + if (_ackCallback) _ackCallback(frame.deliveryTag(), frame.multiple()); +} + +/** + * Process a NACK frame + * + * @param frame The frame to process + */ +void DeferredConfirm::process(BasicNackFrame &frame) +{ + if (_nackCallback) _nackCallback(frame.deliveryTag(), frame.multiple(), frame.requeue()); +} + +/** + * End namespace + */ +} + diff --git a/src/linux_tcp/tcpinbuffer.h b/src/linux_tcp/tcpinbuffer.h index 79b708f..f6fe76f 100644 --- a/src/linux_tcp/tcpinbuffer.h +++ b/src/linux_tcp/tcpinbuffer.h @@ -13,7 +13,7 @@ #pragma once /** - * Dependencies + * Dependencies */ #include