Skip to content

Commit

Permalink
rename attr to FOLLY_ATTR_GNU_COLD
Browse files Browse the repository at this point in the history
Summary: A new pattern for `gnu::`-prefixed attrs.

Differential Revision: D57167503

fbshipit-source-id: 705a00f6e0b15d7fe239b264fcb8d22d32391c1f
  • Loading branch information
yfeldblum authored and facebook-github-bot committed May 10, 2024
1 parent 531fba9 commit 34d7dc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eden/common/utils/Bug.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ namespace facebook::eden {
*/
class EdenBug {
public:
FOLLY_COLD EdenBug(const char* file, int lineNumber);
FOLLY_COLD EdenBug(EdenBug&& other) noexcept;
[[FOLLY_ATTR_GNU_COLD]] EdenBug(const char* file, int lineNumber);
[[FOLLY_ATTR_GNU_COLD]] EdenBug(EdenBug&& other) noexcept;
EdenBug& operator=(EdenBug&& other) = delete;
~EdenBug();

Expand Down

0 comments on commit 34d7dc6

Please sign in to comment.