aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDrak <drak@zikula.org>2014-06-07 12:57:58 +0100
committerDrak <drak@zikula.org>2014-06-07 12:57:58 +0100
commit02bec4b268fa32153f26a5f4c089d4f92d887186 (patch)
tree761927686452f8640d81bc385dccdbf7470b6aaa /src
parentdb41541bc2e679a5c98ab380837c985e0252ab43 (diff)
Fix compiler warnings
Fixes the following compiler warning ``` miner.cpp: In constructor ‘COrphan::COrphan(const CTransaction*)’: miner.cpp:69:14: warning: ‘COrphan::feeRate’ will be initialized after [-Wreorder] CFeeRate feeRate; ^ miner.cpp:68:12: warning: ‘double COrphan::dPriority’ [-Wreorder] double dPriority; ^ miner.cpp:71:5: warning: when initialized here [-Wreorder] COrphan(const CTransaction* ptxIn) : ptx(ptxIn), feeRate(0), dPriority(0) ```
Diffstat (limited to 'src')
-rw-r--r--src/miner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miner.cpp b/src/miner.cpp
index 4e131c088b..ddd277a9bb 100644
--- a/src/miner.cpp
+++ b/src/miner.cpp
@@ -65,8 +65,8 @@ class COrphan
public:
const CTransaction* ptx;
set<uint256> setDependsOn;
- double dPriority;
CFeeRate feeRate;
+ double dPriority;
COrphan(const CTransaction* ptxIn) : ptx(ptxIn), feeRate(0), dPriority(0)
{