BSolverRepository: fix gcc 4 build

This commit is contained in:
Ingo Weinhold 2013-07-04 19:03:03 +02:00
parent c8928835c5
commit 6a7e3406be
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ BSolverRepository::PackageAt(int32 index) const
status_t
BSolverRepository::AddPackage(const BPackageInfo& info,
BSolverPackage** _package = NULL)
BSolverPackage** _package)
{
BSolverPackage* package = new(std::nothrow) BSolverPackage(this, info);
if (package == NULL || !fPackages.AddItem(package)) {