X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/c511c5e8ed3f59ddee1b174b39e5cc16a2f11922..3465138575e1fd0d5892d9b6be1ae232eb873460:/ftparchive/cachedb.h?ds=sidebyside diff --git a/ftparchive/cachedb.h b/ftparchive/cachedb.h index b40fd7df7..417c25a9f 100644 --- a/ftparchive/cachedb.h +++ b/ftparchive/cachedb.h @@ -99,8 +99,8 @@ class CacheDB // Stat info stored in the DB, Fixed types since it is written to disk. enum FlagList {FlControl = (1<<0),FlMD5=(1<<1),FlContents=(1<<2), - FlSize=(1<<3), FlSHA1=(1<<4), FlSHA256=(1<<5), - FlSHA512=(1<<6), FlSource=(1<<7), + FlSize=(1<<3), FlSHA1=(1<<4), FlSHA256=(1<<5), + FlSHA512=(1<<6), FlSource=(1<<7) }; // the on-disk format changed (FileSize increased to 64bit) in @@ -189,7 +189,7 @@ class CacheDB bool Clean(); - CacheDB(std::string const &DB); + explicit CacheDB(std::string const &DB); ~CacheDB(); };