summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/include/lld/Core/File.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lld/include/lld/Core/File.h b/lld/include/lld/Core/File.h
index eb41fcc38d9..20418688dfa 100644
--- a/lld/include/lld/Core/File.h
+++ b/lld/include/lld/Core/File.h
@@ -40,10 +40,6 @@ class LinkingContext;
/// The Atom objects in a File are owned by the File object. The Atom objects
/// are destroyed when the File object is destroyed.
class File {
-protected:
- /// The type of atom mutable container.
- template <typename T> using AtomVector = std::vector<OwningAtomPtr<T>>;
-
public:
virtual ~File();
@@ -109,6 +105,9 @@ public:
return _allocator;
}
+ /// The type of atom mutable container.
+ template <typename T> using AtomVector = std::vector<OwningAtomPtr<T>>;
+
/// The range type for the atoms.
template <typename T> class AtomRange {
public:
OpenPOWER on IntegriCloud