Added type-aliases for nested NOD types

This commit is contained in:
Jack Andersen 2015-10-01 11:47:27 -10:00
parent dc9dcdcd79
commit 322d1c48cd
2 changed files with 4 additions and 1 deletions

View File

@ -54,7 +54,7 @@ int main(int argc, char* argv[])
if (!disc) if (!disc)
return -1; return -1;
NOD::DiscBase::IPartition* dataPart = disc->getDataPartition(); NOD::Partition* dataPart = disc->getDataPartition();
if (!dataPart) if (!dataPart)
return -1; return -1;

View File

@ -253,6 +253,9 @@ public:
} }
}; };
using Partition = DiscBase::IPartition;
using Node = Partition::Node;
} }
#endif // __NOD_DISC_BASE__ #endif // __NOD_DISC_BASE__