diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-03-18 12:56:07 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-03-18 12:56:07 +0000 |
| commit | d0238313278206e505473cef4d4bed88b75b96fd (patch) | |
| tree | ba5b56f122beeb15794528445a56fd6ff7f65853 /src/wallet/api/wallet.cpp | |
| parent | c642d3224c65c993ded9423358c818b83b7d74b9 (diff) | |
| download | monzero-core-d0238313278206e505473cef4d4bed88b75b96fd.tar.gz monzero-core-d0238313278206e505473cef4d4bed88b75b96fd.tar.xz monzero-core-d0238313278206e505473cef4d4bed88b75b96fd.zip | |
use const references in catch blocks
Diffstat (limited to 'src/wallet/api/wallet.cpp')
| -rw-r--r-- | src/wallet/api/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 963bbe0ab..d5c2fbda2 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -833,7 +833,7 @@ bool WalletImpl::exportKeyImages(const string &filename) return false; } } - catch (std::exception &e) + catch (const std::exception &e) { LOG_ERROR("Error exporting key images: " << e.what()); m_errorString = e.what(); |
