Parcourir la source

[2268] doxigen editorial fixes: use \code for code snippet; folded a long line

JINMEI Tatuya il y a 12 ans
Parent
commit
c6f7cced73
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      src/lib/datasrc/memory/zone_data_updater.h

+ 4 - 1
src/lib/datasrc/memory/zone_data_updater.h

@@ -40,9 +40,11 @@ namespace memory {
 /// The way to use this is to make a ZoneDataUpdater instance, and call
 /// add() on it as follows:
 ///
+/// \code
 /// ZoneDataUpdater updater(mem_sgmt, rrclass, zone_origin_name, zone_data);
 /// ConstRRsetPtr rrset;
 /// updater.add(rrset, ConstRRsetPtr());
+/// \endcode
 ///
 /// We enforce that instances are non-copyable as it's pointless to make
 /// copies.
@@ -59,7 +61,8 @@ public:
     ///
     /// \param mem_sgmt The memory segment used for the zone data.
     /// \param rrclass The RRclass of the zone data.
-    /// \param zone_name The Name of the zone under which records will be added.
+    /// \param zone_name The Name of the zone under which records will be
+    ///                  added.
     //  \param zone_data The ZoneData object which is populated with
     //                   record data.
     ZoneDataUpdater(util::MemorySegment& mem_sgmt,