summaryrefslogtreecommitdiff
path: root/yapf/array.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'yapf/array.hpp')
-rw-r--r--yapf/array.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/yapf/array.hpp b/yapf/array.hpp
index d6fe2a75f..e8eff1c8c 100644
--- a/yapf/array.hpp
+++ b/yapf/array.hpp
@@ -24,6 +24,8 @@ public:
/** implicit constructor */
FORCEINLINE CArrayT() { }
+ /** Clear (destroy) all items */
+ FORCEINLINE void Clear() {m_a.Clear();}
/** Return actual number of items */
FORCEINLINE int Size() const
{