diff options
Diffstat (limited to 'bpkg/database.cxx')
-rw-r--r-- | bpkg/database.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bpkg/database.cxx b/bpkg/database.cxx index 451ade3..aec3459 100644 --- a/bpkg/database.cxx +++ b/bpkg/database.cxx @@ -1074,4 +1074,12 @@ namespace bpkg { return *this == main_database (); } + + // compare_lazy_ptr + // + bool compare_lazy_ptr:: + less (const odb::database& x, const odb::database& y) const + { + return static_cast<const database&> (x) < static_cast<const database&> (y); + } } |