Browse Source

[trac550] added a comment about strong exception guarantee implication.

JINMEI Tatuya 14 years ago
parent
commit
f1885e6e7b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/lib/datasrc/memory_datasrc.cc

+ 2 - 0
src/lib/datasrc/memory_datasrc.cc

@@ -206,6 +206,8 @@ struct MemoryZone::MemoryZoneImpl {
 
         // Add wildcards possibly contained in the owner name to the domain
         // tree.
+        // Note: this can throw an exception, breaking strong exception
+        // guarantee.  (see also the note for contextCheck() below).
         addWildcards(*domains, name);
 
         // Get the node