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 << " : ";