diff options
| author | Philip Kaufmann <[email protected]> | 2014-04-30 14:45:24 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2014-04-30 14:45:24 +0200 |
| commit | 1cc7f54a8d02c8e781a77a5c7fab4f6174bf312d (patch) | |
| tree | 560f0a2efcd762f2f182a83fa106ffbba34e23f4 /src/txdb.cpp | |
| parent | qt: Periodic translations update (diff) | |
| download | discoin-1cc7f54a8d02c8e781a77a5c7fab4f6174bf312d.tar.xz discoin-1cc7f54a8d02c8e781a77a5c7fab4f6174bf312d.zip | |
use standard __func__ instead of __PRETTY_FUNCTION__
Diffstat (limited to 'src/txdb.cpp')
| -rw-r--r-- | src/txdb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txdb.cpp b/src/txdb.cpp index d06639a11..cb92922a3 100644 --- a/src/txdb.cpp +++ b/src/txdb.cpp @@ -148,7 +148,7 @@ bool CCoinsViewDB::GetStats(CCoinsStats &stats) { } pcursor->Next(); } catch (std::exception &e) { - return error("%s : Deserialize or I/O error - %s", __PRETTY_FUNCTION__, e.what()); + return error("%s : Deserialize or I/O error - %s", __func__, e.what()); } } delete pcursor; @@ -226,7 +226,7 @@ bool CBlockTreeDB::LoadBlockIndexGuts() break; // if shutdown requested or finished loading block index } } catch (std::exception &e) { - return error("%s : Deserialize or I/O error - %s", __PRETTY_FUNCTION__, e.what()); + return error("%s : Deserialize or I/O error - %s", __func__, e.what()); } } delete pcursor; |