summaryrefslogtreecommitdiff
path: root/lib/sbuild/chroot/lvm-snapshot.cc
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2013-05-04 12:52:38 +0100
committerRoger Leigh <rleigh@debian.org>2013-05-04 17:17:17 +0100
commit06947880301773d293d04afcdef63167767c0cb0 (patch)
tree967ac3064bffa325eab7a4a2227b9e064966b764 /lib/sbuild/chroot/lvm-snapshot.cc
parent46e7e32d5a8c3a63958919183f4c2f0224bbf8d2 (diff)
downloadschroot-06947880301773d293d04afcdef63167767c0cb0.tar.gz
sbuild: Replace clone_session with session_setup facet
Diffstat (limited to 'lib/sbuild/chroot/lvm-snapshot.cc')
-rw-r--r--lib/sbuild/chroot/lvm-snapshot.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/sbuild/chroot/lvm-snapshot.cc b/lib/sbuild/chroot/lvm-snapshot.cc
index c31b652f..7284a6c9 100644
--- a/lib/sbuild/chroot/lvm-snapshot.cc
+++ b/lib/sbuild/chroot/lvm-snapshot.cc
@@ -63,21 +63,5 @@ namespace sbuild
return ptr(new lvm_snapshot(*this));
}
- chroot::chroot::ptr
- lvm_snapshot::clone_session (std::string const& session_id,
- std::string const& alias,
- std::string const& user,
- bool root) const
- {
- facet::session_clonable::const_ptr psess
- (get_facet<facet::session_clonable>());
- assert(psess);
-
- ptr session(new lvm_snapshot(*this));
- psess->clone_session_setup(*this, session, session_id, alias, user, root);
-
- return session;
- }
-
}
}