Skip to content

Commit 42989a0

Browse files
committed
Removed class for now
1 parent e9e92e4 commit 42989a0

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

src/patchelf.h

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,6 @@ using FileContents = std::shared_ptr<std::vector<unsigned char>>;
66
template<ElfFileParams>
77
class ElfFile
88
{
9-
10-
/**
11-
* @brief The ELF section header
12-
*
13-
*/
14-
class Section {
15-
public:
16-
const std::string & getName() {
17-
return name;
18-
}
19-
const Elf_Shdr * toStruct() {
20-
return (Elf_Shdr *) this->data.data();
21-
}
22-
void resize(unsigned int size) {
23-
data.resize(size, '\0');
24-
}
25-
private:
26-
std::string name;
27-
std::vector<unsigned char> data;
28-
};
29-
309
public:
3110

3211
const FileContents fileContents;

0 commit comments

Comments
 (0)