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