[Object] remove struct constructor, NFC

Summary: make POD struct by removing ctors

Reviewers: avl, dblaikie

Reviewed By: dblaikie

Subscribers: ributzka, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D67251

llvm-svn: 371211
This commit is contained in:
Cyndy Ishida 2019-09-06 15:02:22 +00:00
parent 9fcf066d0c
commit 4f8d005831
1 changed files with 0 additions and 5 deletions

View File

@ -137,11 +137,6 @@ public:
};
struct SectionedAddress {
// TODO: constructors could be removed when C++14 would be adopted.
SectionedAddress() {}
SectionedAddress(uint64_t Addr, uint64_t SectIdx)
: Address(Addr), SectionIndex(SectIdx) {}
const static uint64_t UndefSection = UINT64_MAX;
uint64_t Address = 0;