diff options
Diffstat (limited to 'bpkg/database.hxx')
-rw-r--r-- | bpkg/database.hxx | 2 |
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; |