Browse Source

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

JINMEI Tatuya 12 years ago
parent
commit
c6f7cced73
1 changed files with 4 additions and 1 deletions
  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
 /// The way to use this is to make a ZoneDataUpdater instance, and call
 /// add() on it as follows:
 /// add() on it as follows:
 ///
 ///
+/// \code
 /// ZoneDataUpdater updater(mem_sgmt, rrclass, zone_origin_name, zone_data);
 /// ZoneDataUpdater updater(mem_sgmt, rrclass, zone_origin_name, zone_data);
 /// ConstRRsetPtr rrset;
 /// ConstRRsetPtr rrset;
 /// updater.add(rrset, ConstRRsetPtr());
 /// updater.add(rrset, ConstRRsetPtr());
+/// \endcode
 ///
 ///
 /// We enforce that instances are non-copyable as it's pointless to make
 /// We enforce that instances are non-copyable as it's pointless to make
 /// copies.
 /// copies.
@@ -59,7 +61,8 @@ public:
     ///
     ///
     /// \param mem_sgmt The memory segment used for the zone data.
     /// \param mem_sgmt The memory segment used for the zone data.
     /// \param rrclass The RRclass of 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
     //  \param zone_data The ZoneData object which is populated with
     //                   record data.
     //                   record data.
     ZoneDataUpdater(util::MemorySegment& mem_sgmt,
     ZoneDataUpdater(util::MemorySegment& mem_sgmt,