[ELF] Simplify class memeber function declaration
authorSimon Atanasyan <simon@atanasyan.com>
Tue, 21 Apr 2015 17:02:27 +0000 (17:02 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Tue, 21 Apr 2015 17:02:27 +0000 (17:02 +0000)
No functional changes.

llvm-svn: 235390

lld/lib/ReaderWriter/ELF/TargetLayout.h

index 283254fda609110928b0b0e7f80e1cdde66a1cea..ae7f6633376c6ffeff57b4909baba797f6e49049 100644 (file)
@@ -177,8 +177,7 @@ public:
              const DefinedAtom *da);
 
   /// \brief Gets the segment for a output section
-  virtual typename TargetLayout<ELFT>::SegmentType
-  getSegmentType(Section<ELFT> *section) const;
+  virtual SegmentType getSegmentType(Section<ELFT> *section) const;
 
   /// \brief Returns true/false depending on whether the section has a Output
   //         segment or not