summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatias Fontanini <matias.fontanini@gmail.com>2015-03-20 21:21:38 -0700
committerMatias Fontanini <matias.fontanini@gmail.com>2015-03-20 21:21:38 -0700
commit9efd00956fba9a532f2065de407bf1bbec14e2eb (patch)
treef50061524bd1da89afff1f12a9e043ee5b15850b
parentb56be87315e96be96b63c9c085716031310678e8 (diff)
Fix BaseSniffer::sniff_loop documentation.
-rw-r--r--include/tins/sniffer.h5
1 files 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