]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1783] noted a future extension to RendererHolder so it's more visible.
authorJINMEI Tatuya <jinmei@isc.org>
Mon, 19 Mar 2012 17:31:33 +0000 (10:31 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Mon, 19 Mar 2012 17:31:33 +0000 (10:31 -0700)
src/bin/auth/auth_srv.cc

index eaafaae87342b262e013dd233fb1908d3375a1d9..266a547997ff6c1ef5362c812b2b387469e95c4f 100644 (file)
@@ -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)