Skip to content

Commit 9160735

Browse files
committed
Merge: Cleanup apis
1 parent 9816472 commit 9160735

2 files changed

Lines changed: 0 additions & 15 deletions

File tree

binaryninjaapi.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22401,7 +22401,6 @@ namespace BinaryNinja {
2240122401
{
2240222402
public:
2240322403
explicit DatabaseObject(BNDatabaseObject* database);
22404-
virtual ~DatabaseObject();
2240522404

2240622405
// TODO: User subclassing
2240722406
int GetType() const;
@@ -22419,7 +22418,6 @@ namespace BinaryNinja {
2241922418
public:
2242022419
explicit DiffState(BNDiffState* state);
2242122420
explicit DiffState(Ref<Logger> logger);
22422-
virtual ~DiffState();
2242322421

2242422422
std::vector<std::string> GetErrors() const;
2242522423
void ClearErrors();
@@ -22447,7 +22445,6 @@ namespace BinaryNinja {
2244722445
{
2244822446
public:
2244922447
DiffObject(BNDiffObject* object);
22450-
virtual ~DiffObject();
2245122448

2245222449
std::optional<std::string> GetBase() const;
2245322450
std::optional<std::string> GetLeft() const;

merge.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ DatabaseObject::DatabaseObject(BNDatabaseObject* object)
3030
}
3131

3232

33-
// todo: this can be deleted
34-
DatabaseObject::~DatabaseObject() = default;
35-
36-
3733
Ref<DatabaseObject> DatabaseObject::GetParent() const
3834
{
3935
BNDatabaseObject* parent = BNGetDatabaseObjectParent(m_object);
@@ -125,10 +121,6 @@ DiffState::DiffState(Ref<Logger> logger)
125121
}
126122

127123

128-
// todo: this can be deleted
129-
DiffState::~DiffState() = default;
130-
131-
132124
std::vector<std::string> DiffState::GetErrors() const
133125
{
134126
size_t count = 0;
@@ -203,10 +195,6 @@ DiffObject::DiffObject(BNDiffObject* object)
203195
}
204196

205197

206-
// todo: this can be deleted
207-
DiffObject::~DiffObject() = default;
208-
209-
210198
std::optional<std::string> DiffObject::GetBase() const
211199
{
212200
char* base = BNGetDiffObjectBase(m_object);

0 commit comments

Comments
 (0)