diff options
Diffstat (limited to 'JavaScriptCore/wtf/AVLTree.h')
| -rw-r--r-- | JavaScriptCore/wtf/AVLTree.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/JavaScriptCore/wtf/AVLTree.h b/JavaScriptCore/wtf/AVLTree.h index d7470e7..ec8a639 100644 --- a/JavaScriptCore/wtf/AVLTree.h +++ b/JavaScriptCore/wtf/AVLTree.h @@ -33,6 +33,7 @@ #define AVL_TREE_H_ #include "Assertions.h" +#include <wtf/FixedArray.h> namespace WTF { @@ -70,7 +71,7 @@ public: void reset() { for (unsigned i = 0; i < maxDepth; ++i) m_data[i] = false; } private: - bool m_data[maxDepth]; + FixedArray<bool, maxDepth> m_data; }; // How to determine maxDepth: |
