diff --git a/headers/os/package/RepositoryCache.h b/headers/os/package/RepositoryCache.h index 3a1ee37de0..e21c826199 100644 --- a/headers/os/package/RepositoryCache.h +++ b/headers/os/package/RepositoryCache.h @@ -37,7 +37,6 @@ public: private: struct RepositoryContentHandler; - struct StandardErrorOutput; private: BEntry fEntry; diff --git a/src/kits/package/RepositoryCache.cpp b/src/kits/package/RepositoryCache.cpp index c62c204997..65fabc2338 100644 --- a/src/kits/package/RepositoryCache.cpp +++ b/src/kits/package/RepositoryCache.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include #include @@ -181,17 +182,6 @@ private: }; -// #pragma mark - StandardErrorOutput - - -class BRepositoryCache::StandardErrorOutput : public BErrorOutput { - virtual void PrintErrorVarArgs(const char* format, va_list args) - { - vfprintf(stderr, format, args); - } -}; - - // #pragma mark - BRepositoryCache @@ -252,7 +242,7 @@ BRepositoryCache::SetTo(const BEntry& entry) return result; // read repository cache - StandardErrorOutput errorOutput; + BStandardErrorOutput errorOutput; BRepositoryReader repositoryReader(&errorOutput); if ((result = repositoryReader.Init(repositoryCachePath.Path())) != B_OK) return result;