summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/messagerenderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dns/messagerenderer.h')
-rw-r--r--src/lib/dns/messagerenderer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/dns/messagerenderer.h b/src/lib/dns/messagerenderer.h
index 1b8b9c0f96..d63bbd7ea5 100644
--- a/src/lib/dns/messagerenderer.h
+++ b/src/lib/dns/messagerenderer.h
@@ -5,10 +5,11 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef MESSAGERENDERER_H
-#define MESSAGERENDERER_H 1
+#define MESSAGERENDERER_H
#include <util/buffer.h>
+#include <boost/shared_ptr.hpp>
#include <boost/noncopyable.hpp>
namespace isc {
@@ -384,7 +385,7 @@ public:
private:
struct MessageRendererImpl;
- MessageRendererImpl* impl_;
+ boost::shared_ptr<MessageRendererImpl> impl_;
};
}
}