From 322d1c48cdd2132fc9d5ffa0d1ca79469453b6df Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Thu, 1 Oct 2015 11:47:27 -1000 Subject: [PATCH] Added type-aliases for nested NOD types --- driver/main.cpp | 2 +- include/NOD/DiscBase.hpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/driver/main.cpp b/driver/main.cpp index 2bb31f8..b6f44b4 100644 --- a/driver/main.cpp +++ b/driver/main.cpp @@ -54,7 +54,7 @@ int main(int argc, char* argv[]) if (!disc) return -1; - NOD::DiscBase::IPartition* dataPart = disc->getDataPartition(); + NOD::Partition* dataPart = disc->getDataPartition(); if (!dataPart) return -1; diff --git a/include/NOD/DiscBase.hpp b/include/NOD/DiscBase.hpp index d393745..149b53c 100644 --- a/include/NOD/DiscBase.hpp +++ b/include/NOD/DiscBase.hpp @@ -253,6 +253,9 @@ public: } }; +using Partition = DiscBase::IPartition; +using Node = Partition::Node; + } #endif // __NOD_DISC_BASE__