diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-01-24 12:07:03 +0100 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-01-24 12:09:29 +0100 |
commit | fab958290b84037fad1d78ffb2bce34d2b0e8c36 (patch) | |
tree | a512edaff26ef53096449f495f438f859ad0b5e8 /src/wallet/bdb.cpp | |
parent | fcff639af137f2a6636ef454d0404b969ab7772e (diff) | |
download | bitcoin-fab958290b84037fad1d78ffb2bce34d2b0e8c36.tar.xz |
refactor: Remove c_str from util/check
Diffstat (limited to 'src/wallet/bdb.cpp')
-rw-r--r-- | src/wallet/bdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/bdb.cpp b/src/wallet/bdb.cpp index dc14a60595..0d42f82f68 100644 --- a/src/wallet/bdb.cpp +++ b/src/wallet/bdb.cpp @@ -663,7 +663,7 @@ BerkeleyCursor::BerkeleyCursor(BerkeleyDatabase& database) } int ret = database.m_db->cursor(nullptr, &m_cursor, 0); if (ret != 0) { - throw std::runtime_error(STR_INTERNAL_BUG(strprintf("BDB Cursor could not be created. Returned %d", ret).c_str())); + throw std::runtime_error(STR_INTERNAL_BUG(strprintf("BDB Cursor could not be created. Returned %d", ret))); } } |