diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2025-06-25 13:59:15 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2025-07-26 14:19:51 -0400 |
commit | 2cd69d3ee34a6d2c21aa64aedf262827eb83826f (patch) | |
tree | 9e98b40ac2a7fc6809f7e2bb3ac0c42eecad735a /src/trie.h | |
parent | 1b1e5a4707d681e4b38df56e83db1be9c07723b8 (diff) | |
download | bfs-2cd69d3ee34a6d2c21aa64aedf262827eb83826f.tar.xz |
Use C23 [[attribute]] syntax
Diffstat (limited to 'src/trie.h')
-rw-r--r-- | src/trie.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,7 +21,8 @@ struct trie_leaf { /** The length of the key in bytes. */ size_t length; /** The key itself, stored inline. */ - char key[] _counted_by(length); + [[_counted_by(length)]] + char key[]; }; /** |