aboutsummaryrefslogtreecommitdiff
path: root/bpkg/database.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-12-19 21:32:52 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-01-09 20:26:18 +0300
commit8365a8f55e05628109db9cf6c3321932aa0b0f16 (patch)
tree2bc36961e6ee68a72f95fcd093b3a41fa035c293 /bpkg/database.hxx
parentacdbb63a27ae409204648967559e0e4069ebed4d (diff)
Try to automatically resolve unsatisfied dependency constraints by specifying dependent version
Diffstat (limited to 'bpkg/database.hxx')
-rw-r--r--bpkg/database.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/database.hxx b/bpkg/database.hxx
index a9e1da5..035ff60 100644
--- a/bpkg/database.hxx
+++ b/bpkg/database.hxx
@@ -538,7 +538,7 @@ namespace bpkg
inline ostream&
operator<< (ostream& os, const database& db)
{
- const string& s (const_cast<database&> (db).string);
+ const string& s (db.string);
if (!s.empty ())
os << ' ' << s;