BIND 10 trac1783, updated. e0cee3754d5c1e2654223bb87e88567ad8befdce [1783] noted a future extension to RendererHolder so it's more visible.
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Mar 19 17:32:40 UTC 2012
The branch, trac1783 has been updated
via e0cee3754d5c1e2654223bb87e88567ad8befdce (commit)
from f46b788569366fefbfaaf6ec0d57bf1861b1b2ba (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e0cee3754d5c1e2654223bb87e88567ad8befdce
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Mar 19 10:31:33 2012 -0700
[1783] noted a future extension to RendererHolder so it's more visible.
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/auth_srv.cc | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/auth_srv.cc b/src/bin/auth/auth_srv.cc
index eaafaae..266a547 100644
--- a/src/bin/auth/auth_srv.cc
+++ b/src/bin/auth/auth_srv.cc
@@ -87,7 +87,11 @@ namespace {
// the previously set buffer and then release any internal resource in the
// renderer, no matter what happened during the rendering, especially even
// when it resulted in an exception.
-class RendererHolder {
+//
+// Note: if we need this helper in many other places we might consider making
+// it visible to other modules. As of this implementation this is the only
+// user of this class, so we hide it within the implementation.
+class RendererHolder {
public:
RendererHolder(MessageRenderer& renderer, OutputBuffer* buffer) :
renderer_(renderer)
More information about the bind10-changes
mailing list