storage/Composite: eliminate the second FindStorage() overload

It was used in a wrong way, which did not deal with errors
consistently.  And if that's wrong, there is no need for FindStorage()
at all - let's remove it and the confusion around it.
This commit is contained in:
Max Kellermann
2016-10-27 19:45:36 +02:00
parent e1a8dcfcc8
commit f9a64d24bf
2 changed files with 6 additions and 13 deletions

View File

@@ -165,7 +165,6 @@ private:
*/
gcc_pure
FindResult FindStorage(const char *uri) const;
FindResult FindStorage(const char *uri, Error &error) const;
const char *MapToRelativeUTF8(const Directory &directory,
const char *uri) const;