summaryrefslogtreecommitdiff
path: root/src/yapf/nodelist.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/yapf/nodelist.hpp')
-rw-r--r--src/yapf/nodelist.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/yapf/nodelist.hpp b/src/yapf/nodelist.hpp
index 000c36659..a174d69d8 100644
--- a/src/yapf/nodelist.hpp
+++ b/src/yapf/nodelist.hpp
@@ -127,6 +127,11 @@ public:
FORCEINLINE int TotalCount() {return m_arr.Size();}
FORCEINLINE Titem_& ItemAt(int idx) {return m_arr[idx];}
+
+ template <class D> void Dump(D &dmp) const
+ {
+ dmp.WriteStructT("m_arr", &m_arr);
+ }
};
#endif /* NODELIST_HPP */