summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/algorithms.h')
-rw-r--r--apt-pkg/algorithms.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/algorithms.h b/apt-pkg/algorithms.h
index dab844220..9c9ceead4 100644
--- a/apt-pkg/algorithms.h
+++ b/apt-pkg/algorithms.h
@@ -67,7 +67,7 @@ class pkgSimulate : public pkgPackageManager /*{{{*/
return (*Cache)[Pkg].CandidateVerIter(*Cache);
}
- Policy(pkgDepCache *Cache) : Cache(Cache) {};
+ explicit Policy(pkgDepCache *Cache) : Cache(Cache) {};
};
unsigned char *Flags;
@@ -87,7 +87,7 @@ private:
public:
- pkgSimulate(pkgDepCache *Cache);
+ explicit pkgSimulate(pkgDepCache *Cache);
virtual ~pkgSimulate();
};
/*}}}*/
@@ -155,7 +155,7 @@ class pkgProblemResolver /*{{{*/
APT_DEPRECATED void InstallProtect();
- pkgProblemResolver(pkgDepCache *Cache);
+ explicit pkgProblemResolver(pkgDepCache *Cache);
virtual ~pkgProblemResolver();
};
/*}}}*/