BSolverRepository: fix gcc 4 build
This commit is contained in:
@@ -247,7 +247,7 @@ BSolverRepository::PackageAt(int32 index) const
|
|||||||
|
|
||||||
status_t
|
status_t
|
||||||
BSolverRepository::AddPackage(const BPackageInfo& info,
|
BSolverRepository::AddPackage(const BPackageInfo& info,
|
||||||
BSolverPackage** _package = NULL)
|
BSolverPackage** _package)
|
||||||
{
|
{
|
||||||
BSolverPackage* package = new(std::nothrow) BSolverPackage(this, info);
|
BSolverPackage* package = new(std::nothrow) BSolverPackage(this, info);
|
||||||
if (package == NULL || !fPackages.AddItem(package)) {
|
if (package == NULL || !fPackages.AddItem(package)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user