diff options
| author | Dan Raviv <[email protected]> | 2017-08-26 02:56:53 +0300 |
|---|---|---|
| committer | Dan Raviv <[email protected]> | 2017-08-26 02:56:53 +0300 |
| commit | bc70ab5dffce5cc9894929cac7c107dcb9c25053 (patch) | |
| tree | 5e1b8445f1806cf6f4062f4c4a459c3688d23680 /src | |
| parent | Merge #11112: [developer-notes] By default, declare single-argument construct... (diff) | |
| download | discoin-bc70ab5dffce5cc9894929cac7c107dcb9c25053.tar.xz discoin-bc70ab5dffce5cc9894929cac7c107dcb9c25053.zip | |
Fix header guards using reserved identifiers
Identifiers beginning with an underscore followed immediately by an uppercase letter are reserved.
Diffstat (limited to 'src')
| -rw-r--r-- | src/cuckoocache.h | 6 | ||||
| -rw-r--r-- | src/prevector.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/cuckoocache.h b/src/cuckoocache.h index 9246a3924..947e1a718 100644 --- a/src/cuckoocache.h +++ b/src/cuckoocache.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef _BITCOIN_CUCKOOCACHE_H_ -#define _BITCOIN_CUCKOOCACHE_H_ +#ifndef BITCOIN_CUCKOOCACHE_H +#define BITCOIN_CUCKOOCACHE_H #include <array> #include <algorithm> @@ -478,4 +478,4 @@ public: }; } // namespace CuckooCache -#endif +#endif // BITCOIN_CUCKOOCACHE_H diff --git a/src/prevector.h b/src/prevector.h index f7bde8911..eb29b3ae7 100644 --- a/src/prevector.h +++ b/src/prevector.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef _BITCOIN_PREVECTOR_H_ -#define _BITCOIN_PREVECTOR_H_ +#ifndef BITCOIN_PREVECTOR_H +#define BITCOIN_PREVECTOR_H #include <assert.h> #include <stdlib.h> @@ -514,4 +514,4 @@ public: }; #pragma pack(pop) -#endif +#endif // BITCOIN_PREVECTOR_H |