Skip to content

Commit 7309909

Browse files
committed
Implement Snapshot::HasData()
1 parent 7873735 commit 7309909

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

database.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,12 @@ bool Snapshot::HasContents()
222222
}
223223

224224

225+
bool Snapshot::HasData()
226+
{
227+
return GetDatabase()->SnapshotHasData(GetId());
228+
}
229+
230+
225231
bool Snapshot::HasUndo()
226232
{
227233
return BNSnapshotHasUndo(m_object);

0 commit comments

Comments
 (0)