db/simple: remove unused method LookupDirectory()
This commit is contained in:
parent
82985a9488
commit
5f262da09d
src/db/plugins
@ -235,17 +235,6 @@ SimpleDatabase::ReturnSong(gcc_unused const LightSong *song) const
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
gcc_pure
|
|
||||||
const Directory *
|
|
||||||
SimpleDatabase::LookupDirectory(const char *uri) const
|
|
||||||
{
|
|
||||||
assert(root != nullptr);
|
|
||||||
assert(uri != nullptr);
|
|
||||||
|
|
||||||
ScopeDatabaseLock protect;
|
|
||||||
return root->LookupDirectory(uri);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
SimpleDatabase::Visit(const DatabaseSelection &selection,
|
SimpleDatabase::Visit(const DatabaseSelection &selection,
|
||||||
VisitDirectory visit_directory,
|
VisitDirectory visit_directory,
|
||||||
|
@ -107,9 +107,6 @@ private:
|
|||||||
bool Check(Error &error) const;
|
bool Check(Error &error) const;
|
||||||
|
|
||||||
bool Load(Error &error);
|
bool Load(Error &error);
|
||||||
|
|
||||||
gcc_pure
|
|
||||||
const Directory *LookupDirectory(const char *uri) const;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const DatabasePlugin simple_db_plugin;
|
extern const DatabasePlugin simple_db_plugin;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user