summaryrefslogtreecommitdiffstats
path: root/src/trie.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/trie.h')
-rw-r--r--src/trie.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/trie.h b/src/trie.h
index 19bd81d..fa10670 100644
--- a/src/trie.h
+++ b/src/trie.h
@@ -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[];
};
/**