Fix some issues found by cppcheck

This commit is contained in:
heckflosse
2018-11-22 18:40:09 +01:00
parent b7c04d3b08
commit 190772af5e
11 changed files with 20 additions and 31 deletions

View File

@@ -153,7 +153,7 @@ public:
Glib::ustring getDefaultCommonDirectory() const;
private:
LCPStore(unsigned int _cache_size = 32);
explicit LCPStore(unsigned int _cache_size = 32);
// Maps file name to profile as cache
mutable Cache<Glib::ustring, std::shared_ptr<LCPProfile>> cache;