summaryrefslogtreecommitdiffstats
path: root/src/bin/d2/tests/d_test_stubs.cc
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2013-07-01 14:11:05 +0200
committerThomas Markwalder <tmark@isc.org>2013-07-01 14:11:05 +0200
commit6e99f2cb85dd4722f7a5c2d15ebf2458cecc7b32 (patch)
tree6c373ef5367caf2b9ddaca2272e6f740f73cf0f3 /src/bin/d2/tests/d_test_stubs.cc
parent[2957] Review comments. Added in the ability to configure TSIG Key (diff)
downloadkea-6e99f2cb85dd4722f7a5c2d15ebf2458cecc7b32.tar.xz
kea-6e99f2cb85dd4722f7a5c2d15ebf2458cecc7b32.zip
[2957] Made forward and reverse ddns elements optional, altered clone
method to return smart pointer.
Diffstat (limited to 'src/bin/d2/tests/d_test_stubs.cc')
-rw-r--r--src/bin/d2/tests/d_test_stubs.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/d2/tests/d_test_stubs.cc b/src/bin/d2/tests/d_test_stubs.cc
index 5d9077d3f2..4e1cee688d 100644
--- a/src/bin/d2/tests/d_test_stubs.cc
+++ b/src/bin/d2/tests/d_test_stubs.cc
@@ -260,9 +260,9 @@ DStubContext::getExtraStorage() {
return (extra_values_);
}
-DStubContext*
+DCfgContextBasePtr
DStubContext::clone() {
- return (new DStubContext(*this));
+ return (DCfgContextBasePtr(new DStubContext(*this)));
}
DStubContext::DStubContext(const DStubContext& rhs): DCfgContextBase(rhs),