Fix header guards using reserved identifiers
Identifiers beginning with an underscore followed immediately by an uppercase letter are reserved.
This commit is contained in:
parent
3f726c99f8
commit
bc70ab5dff
2 changed files with 6 additions and 6 deletions
|
@ -2,8 +2,8 @@
|
||||||
// Distributed under the MIT software license, see the accompanying
|
// Distributed under the MIT software license, see the accompanying
|
||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#ifndef _BITCOIN_CUCKOOCACHE_H_
|
#ifndef BITCOIN_CUCKOOCACHE_H
|
||||||
#define _BITCOIN_CUCKOOCACHE_H_
|
#define BITCOIN_CUCKOOCACHE_H
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
@ -478,4 +478,4 @@ public:
|
||||||
};
|
};
|
||||||
} // namespace CuckooCache
|
} // namespace CuckooCache
|
||||||
|
|
||||||
#endif
|
#endif // BITCOIN_CUCKOOCACHE_H
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
// Distributed under the MIT software license, see the accompanying
|
// Distributed under the MIT software license, see the accompanying
|
||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#ifndef _BITCOIN_PREVECTOR_H_
|
#ifndef BITCOIN_PREVECTOR_H
|
||||||
#define _BITCOIN_PREVECTOR_H_
|
#define BITCOIN_PREVECTOR_H
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -514,4 +514,4 @@ public:
|
||||||
};
|
};
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
|
||||||
#endif
|
#endif // BITCOIN_PREVECTOR_H
|
||||||
|
|
Loading…
Reference in a new issue