From 9efd00956fba9a532f2065de407bf1bbec14e2eb Mon Sep 17 00:00:00 2001 From: Matias Fontanini Date: Fri, 20 Mar 2015 21:21:38 -0700 Subject: [PATCH] Fix BaseSniffer::sniff_loop documentation. --- include/tins/sniffer.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/tins/sniffer.h b/include/tins/sniffer.h index f47dc72..d53dcde 100644 --- a/include/tins/sniffer.h +++ b/include/tins/sniffer.h @@ -139,9 +139,10 @@ namespace Tins { * \code * bool(PDU&); * bool(const PDU&); + * + * // These two are only allowed when compiling in C++11 mode + * bool(Packet&); * bool(const Packet&); - * bool(Packet&&); - * bool(Packet); * \endcode * * This functor will be called using the each of the sniffed packets