[svn] commit: r716 - /branches/parkinglot/src/lib/auth/cpp/data_source.h

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Feb 3 19:07:54 UTC 2010


Author: jinmei
Date: Wed Feb  3 19:07:54 2010
New Revision: 716

Log:
made rrclass private.

in general we should avoid non-private member variables whenever possible
for various reasons.  and, in this case we can actually make it private
as we provide the accessor member function.

Modified:
    branches/parkinglot/src/lib/auth/cpp/data_source.h

Modified: branches/parkinglot/src/lib/auth/cpp/data_source.h
==============================================================================
--- branches/parkinglot/src/lib/auth/cpp/data_source.h (original)
+++ branches/parkinglot/src/lib/auth/cpp/data_source.h Wed Feb  3 19:07:54 2010
@@ -101,7 +101,7 @@
     DSResult init() { return NOT_IMPLEMENTED; }
     DSResult close() { return NOT_IMPLEMENTED; }
 
-protected:
+private:
     RRClass rrclass;
 };
 




More information about the bind10-changes mailing list