]> Git Repo - VerusCoin.git/blobdiff - src/core_read.cpp
make all catch() arguments const
[VerusCoin.git] / src / core_read.cpp
index 65c3a08c551ebcd7121d63fc166a1bd4019110a3..c15b978760889790b8ecd81260891741645043b8 100644 (file)
@@ -102,7 +102,7 @@ bool DecodeHexTx(CTransaction& tx, const std::string& strHexTx)
     try {
         ssData >> tx;
     }
-    catch (const std::exception &) {
+    catch (const std::exception&) {
         return false;
     }
 
@@ -119,7 +119,7 @@ bool DecodeHexBlk(CBlock& block, const std::string& strHexBlk)
     try {
         ssBlock >> block;
     }
-    catch (const std::exception &) {
+    catch (const std::exception&) {
         return false;
     }
 
This page took 0.021365 seconds and 4 git commands to generate.