]> granicus.if.org Git - icinga2/commitdiff
Windows build fix.
authorGunnar Beutner <gunnar.beutner@netways.de>
Wed, 9 Apr 2014 10:38:26 +0000 (12:38 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Wed, 9 Apr 2014 10:38:26 +0000 (12:38 +0200)
Refs #5987

lib/base/dynamictype.h

index 13312c8041460dad567d77f3dea912685d505b7d..42456ac16417de8d65aa7f33f97bcc78a651e8bb 100644 (file)
@@ -99,10 +99,21 @@ private:
        int m_Index;
        mutable shared_ptr<T> 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<T>& other) const
        {
                ASSERT(other.m_Type == m_Type);