Shut up some warnings

This commit is contained in:
Eelco Dolstra 2019-09-24 17:28:18 +02:00
parent 382aa05ff7
commit c32bba7489
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 4 additions and 2 deletions

View file

@ -10,6 +10,8 @@ class NarInfoDiskCache
public: public:
typedef enum { oValid, oInvalid, oUnknown } Outcome; typedef enum { oValid, oInvalid, oUnknown } Outcome;
virtual ~NarInfoDiskCache() { }
virtual void createCache(const std::string & uri, const Path & storeDir, virtual void createCache(const std::string & uri, const Path & storeDir,
bool wantMassQuery, int priority) = 0; bool wantMassQuery, int priority) = 0;

View file

@ -5,8 +5,8 @@
#include "types.hh" #include "types.hh"
class sqlite3; struct sqlite3;
class sqlite3_stmt; struct sqlite3_stmt;
namespace nix { namespace nix {