Parcourir la source

[2433] added a comment about a method made public to explain why

JINMEI Tatuya il y a 12 ans
Parent
commit
15a69fd77a
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      src/lib/dns/tests/zone_checker_unittest.cc

+ 2 - 0
src/lib/dns/tests/zone_checker_unittest.cc

@@ -64,6 +64,8 @@ protected:
     }
 
 public:
+    // This one is passed to boost::bind.  Some compilers seem to require
+    // it be public.
     void callback(const std::string& reason, bool is_error) {
         if (is_error) {
             errors_.push_back(reason);