From: Arvin Schnell Date: Fri, 25 Oct 2013 09:01:05 +0000 (+0200) Subject: - avoid deprecated function X-Git-Tag: v0.1.8~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d8a6c8053924af3753ce0033ccbbcbd6d020e621;p=thirdparty%2Fsnapper.git - avoid deprecated function --- diff --git a/examples/c++-lib/Create.cc b/examples/c++-lib/Create.cc index 4a2a4a36..b0e4305f 100644 --- a/examples/c++-lib/Create.cc +++ b/examples/c++-lib/Create.cc @@ -1,4 +1,6 @@ +#include +#include #include #include @@ -12,7 +14,7 @@ main(int argc, char** argv) { Snapper* sh = new Snapper(); - sh->createSingleSnapshot("test"); + sh->createSingleSnapshot(getuid(), "test", "number", map()); delete sh;