Packets: Fix VariantParser invalid parser access bug
[senf.git] / Packets / ListNParser.ih
index fc9b462..db54348 100644 (file)
@@ -23,8 +23,8 @@
 /** \file
     \brief ListNParser internal header */
 
-#ifndef IH_ListNParser_
-#define IH_ListNParser_ 1
+#ifndef IH_SENF_Packets_ListNParser_
+#define IH_SENF_Packets_ListNParser_ 1
 
 // Custom includes
 #include "ListParser.ih"
@@ -62,6 +62,7 @@ namespace detail {
         void      insert (container_type & c, data_iterator p) const;
         void      update (container_type const & c) const;
 
+        /** Internal: ListNParser iterator specific data */
         struct iterator_data {
             size_type n_;
         };
@@ -73,6 +74,8 @@ namespace detail {
         data_iterator raw             (container_type const & c, iterator_data const & d) const;
     };
 
+#ifndef DOXYGEN
+
     template <class ElementParser, class AuxPolicy>
     struct ListParserPolicy<ElementParser, AuxPolicy, senf::detail::auxtag::none>
     {
@@ -88,6 +91,8 @@ namespace detail {
                                     TransformAuxParserPolicy<AuxPolicy, Transform> > type;
     };
 
+#endif
+
 }}
 
 ///////////////////////////////ih.e////////////////////////////////////////