mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 05:36:59 -04:00
default smart pointer type switched to intrusive_ptr
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@337 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -45,7 +45,7 @@ DECLARE_DYNAMIC_ARG(Package*, clipboard_package);
|
||||
*
|
||||
* TODO: maybe support sub packages (a package inside another package)?
|
||||
*/
|
||||
class Package {
|
||||
class Package : public IntrusivePtrVirtualBase {
|
||||
public:
|
||||
// --------------------------------------------------- : Managing the outside of the package
|
||||
|
||||
@@ -177,7 +177,7 @@ class Package {
|
||||
// ----------------------------------------------------------------------------- : Packaged
|
||||
|
||||
/// Dependencies of a package
|
||||
class PackageDependency {
|
||||
class PackageDependency : public IntrusivePtrBase<PackageDependency> {
|
||||
public:
|
||||
String package; ///< Name of the package someone depends on
|
||||
Version version; ///< Minimal required version of that package
|
||||
|
||||
Reference in New Issue
Block a user