2 * Copyright 2013-2014, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
6 * Ingo Weinhold <ingo_weinhold@gmx.de>
16 #include <AutoDeleter.h>
18 #include "DebugSupport.h"
21 Package::Package(PackageFile
* file
)
25 fFileNameHashTableNext(NULL
),
26 fNodeRefHashTableNext(NULL
)
28 fFile
->AcquireReference();
34 fFile
->ReleaseReference();
39 Package::Clone() const
41 Package
* clone
= new(std::nothrow
) Package(fFile
);
43 clone
->fActive
= fActive
;