diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-04-01 18:30:17 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-04-01 18:30:21 -0400 |
commit | 0c5f67b8e5d9a502c6d321c5e0696bc3e9b4690d (patch) | |
tree | 157e9d84196abfbdb59270e3829e6b0cb4c4bde2 /src/policy | |
parent | 9beded58606606b00e70ae76020ac433569b901e (diff) | |
parent | 3bcc0059b82b1d482d499d4d8f09118617074a5b (diff) |
Merge #12757: Clarify include guard naming convention
3bcc0059b8 Add lint-include-guards.sh which checks include guard consistency (practicalswift)
8fd6af89a0 Fix missing or inconsistent include guards (practicalswift)
8af65d96f4 Document include guard convention (practicalswift)
Pull request description:
* **Documentation**: Document include guard convention
* **Fix**: Fix missing or inconsistent include guards
* **Regression test**: Add `lint-include-guards.sh` which checks include guard consistency
Tree-SHA512: 8171878f60fd08ccbea943a11e835195750592abb9d7ab74eaa4265ae7fac523b1da9d31ca13d6ab73dd596e49986bfb7593c696e5f39567c93e610165bc2acc
Diffstat (limited to 'src/policy')
-rw-r--r-- | src/policy/fees.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/policy/fees.h b/src/policy/fees.h index 7f80fc92c2..afb4746def 100644 --- a/src/policy/fees.h +++ b/src/policy/fees.h @@ -2,8 +2,8 @@ // Copyright (c) 2009-2017 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_POLICYESTIMATOR_H -#define BITCOIN_POLICYESTIMATOR_H +#ifndef BITCOIN_POLICY_FEES_H +#define BITCOIN_POLICY_FEES_H #include <amount.h> #include <policy/feerate.h> @@ -294,4 +294,4 @@ private: FastRandomContext insecure_rand; }; -#endif /*BITCOIN_POLICYESTIMATOR_H */ +#endif // BITCOIN_POLICY_FEES_H |