Skip to content

Commit

Permalink
Fix MSVC issue
Browse files Browse the repository at this point in the history
  • Loading branch information
romainthomas committed Feb 3, 2024
1 parent 9d28a06 commit caafbcf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/LIEF/ELF/Parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class LIEF_API Parser : public LIEF::Parser {
Parser(const std::string& file, ParserConfig config);
Parser(const std::vector<uint8_t>& data, ParserConfig config);

~Parser() override = default;
~Parser() override;

ok_error_t init();

Expand Down
2 changes: 2 additions & 0 deletions src/ELF/Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
namespace LIEF {
namespace ELF {

Parser::~Parser() = default;

Parser::Parser(const std::vector<uint8_t>& data, ParserConfig conf) :
stream_{std::make_unique<VectorStream>(data)},
binary_{new Binary{}},
Expand Down

0 comments on commit caafbcf

Please sign in to comment.