Packets: Fix VariantParser invalid parser access bug
[senf.git] / Packets / ListParser.ih
index e97d2fa..0be4b02 100644 (file)
@@ -23,8 +23,8 @@
 /** \file
     \brief ListParser internal header */
 
-#ifndef IH_ListParser_
-#define IH_ListParser_ 1
+#ifndef IH_SENF_Packets_ListParser_
+#define IH_SENF_Packets_ListParser_ 1
 
 // Custom includes
 #include <boost/iterator/iterator_facade.hpp>
@@ -70,6 +70,8 @@ namespace detail {
         Container const * c_;
     };
 
+#ifndef DOXYGEN
+
     template <class ElementParser, class AuxPolicy, class AuxTag>
     struct ListParserPolicy
     {};
@@ -91,6 +93,8 @@ namespace detail {
                                       size,                                                       \
                                       senf::detail::ListParserTraits<elt_type> )
 
+#endif
+
 }}
 
 ///////////////////////////////ih.e////////////////////////////////////////