From: Gunnar Beutner Date: Wed, 9 Apr 2014 10:38:26 +0000 (+0200) Subject: Windows build fix. X-Git-Tag: v0.0.10~150 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2b18d4f35e679ff051ed7184a102a61d3219331;p=icinga2 Windows build fix. Refs #5987 --- diff --git a/lib/base/dynamictype.h b/lib/base/dynamictype.h index 13312c804..42456ac16 100644 --- a/lib/base/dynamictype.h +++ b/lib/base/dynamictype.h @@ -99,10 +99,21 @@ private: int m_Index; mutable shared_ptr m_Current; - void increment(void) { + void increment(void) + { m_Index++; } + void decrement(void) + { + m_Index--; + } + + void advance(int n) + { + m_Index += n; + } + bool equal(const DynamicTypeIterator& other) const { ASSERT(other.m_Type == m_Type);