Skip to content

Commit

Permalink
Fix header guards using reserved identifiers
Browse files Browse the repository at this point in the history
Identifiers beginning with an underscore followed immediately by an uppercase letter are reserved.

(cherry picked from commit bitcoin/bitcoin@bc70ab5)

Zcash: We merged the other half of this in 36463d4.
  • Loading branch information
danra authored and str4d committed Jul 8, 2022
1 parent 8e053da commit 7498c60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cuckoocache.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <atomic>
Expand Down Expand Up @@ -479,4 +479,4 @@ class cache
};
} // namespace CuckooCache

#endif
#endif // BITCOIN_CUCKOOCACHE_H

0 comments on commit 7498c60

Please sign in to comment.