diff options
| author | Glenn Smith <glenn@vector35.com> | 2025-02-10 23:54:19 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2025-02-11 00:21:20 -0500 |
| commit | 7309909363541562933755585024428554404294 (patch) | |
| tree | 4c6cdbeac65211c3e3cea62e332895554a502424 /database.cpp | |
| parent | 7873735510317899242811322096551682765014 (diff) | |
Implement Snapshot::HasData()
Diffstat (limited to 'database.cpp')
| -rw-r--r-- | database.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/database.cpp b/database.cpp index f3a6072f..2a958e94 100644 --- a/database.cpp +++ b/database.cpp @@ -222,6 +222,12 @@ bool Snapshot::HasContents() } +bool Snapshot::HasData() +{ + return GetDatabase()->SnapshotHasData(GetId()); +} + + bool Snapshot::HasUndo() { return BNSnapshotHasUndo(m_object); |
