From 8365a8f55e05628109db9cf6c3321932aa0b0f16 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 19 Dec 2023 21:32:52 +0300 Subject: Try to automatically resolve unsatisfied dependency constraints by specifying dependent version --- bpkg/database.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpkg/database.hxx') 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 (db).string); + const string& s (db.string); if (!s.empty ()) os << ' ' << s; -- cgit v1.1