From: Arvin Schnell Date: Wed, 9 Oct 2013 08:00:23 +0000 (+0200) Subject: - avoid deprecated functions X-Git-Tag: v0.1.8~31 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=128d8574fcce96c7f44fbf0f24b67d1cb4e9aa5a;p=thirdparty%2Fsnapper.git - avoid deprecated functions --- diff --git a/testsuite-real/common.cc b/testsuite-real/common.cc index 2717cc23..885eae33 100644 --- a/testsuite-real/common.cc +++ b/testsuite-real/common.cc @@ -48,16 +48,14 @@ cleanup() void first_snapshot() { - first = sh->createPreSnapshot(CONFIG); - first->setCleanup("number"); + first = sh->createPreSnapshot(0, CONFIG, "number", map()); } void second_snapshot() { - second = sh->createPostSnapshot(CONFIG, first); - second->setCleanup("number"); + second = sh->createPostSnapshot(first, 0, CONFIG, "number", map()); }