From 6efbc3b8415c8318af87c8ab61b267254a66316c Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Sat, 5 Sep 2015 08:51:41 +0200 Subject: [PATCH] refcntr transition to shared_ptr. test exec.release->reset --- src/utils/circache.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/circache.cpp b/src/utils/circache.cpp index 5d152b91..6cbe26d4 100644 --- a/src/utils/circache.cpp +++ b/src/utils/circache.cpp @@ -1335,8 +1335,8 @@ static bool inflateToDynBuf(void* inp, UINT inlen, void **outpp, UINT *outlenp) #include #include #include -#include "safesysstat.h" -#include "safeunistd.h" +#include +#include #include #include @@ -1420,8 +1420,8 @@ bool resizecc(const string& dir, int newmbs) } // Done with our objects here, there is no close() method, so delete them - occ.release(); - ncc.release(); + occ.reset(); + ncc.reset(); if (rename(ofn.c_str(), backupfn.c_str()) < 0) { cerr << "Could not create backup " << backupfn << " : ";