From a320e103d28dbfd8b2a29f6b6eb1b274e6668e94 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Wed, 9 Mar 2016 01:26:35 -0500 Subject: [PATCH] Rename GDT::table -> mTable --- src/Descriptors.cc | 8 ++++---- src/Descriptors.hh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Descriptors.cc b/src/Descriptors.cc index 27fafde..5f9416f 100644 --- a/src/Descriptors.cc +++ b/src/Descriptors.cc @@ -86,7 +86,7 @@ GDT::DescriptorSpec::descriptor() GDT::GDT() - : table{0} + : mTable{0} { } @@ -97,7 +97,7 @@ GDT::setDescriptor(size_t index, if (index >= GDT::Size) { return; } - table[index] = spec.descriptor(); + mTable[index] = spec.descriptor(); } @@ -107,7 +107,7 @@ GDT::setNullDescriptor(size_t index) if (index >= GDT::Size) { return; } - table[index] = 0; + mTable[index] = 0; } @@ -115,7 +115,7 @@ void GDT::load() const { - PseudoDescriptor gdt {Size * sizeof(Descriptor) - 1, uint32_t(&table)}; + PseudoDescriptor gdt {Size * sizeof(Descriptor) - 1, uint32_t(&mTable)}; /* * Load the new GDT with the pointer defined above. The GDT isn't actually diff --git a/src/Descriptors.hh b/src/Descriptors.hh index d737d4f..1c8d0e9 100644 --- a/src/Descriptors.hh +++ b/src/Descriptors.hh @@ -102,7 +102,7 @@ private: // TODO: Maybe eventually I can make this variable? Maybe use templates? static const size_t Size = 5; - Descriptor table[Size]; + Descriptor mTable[Size]; };