sec.h: fix eSecCommandList assignment
authorghost <andreas.monzner@multimedia-labs.de>
Wed, 9 Jun 2010 14:14:25 +0000 (16:14 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Wed, 9 Jun 2010 14:14:47 +0000 (16:14 +0200)
lib/dvb/sec.h

index 5d73bb7..ef8b1e0 100644 (file)
@@ -133,6 +133,12 @@ public:
        {
                return secSequence.size();
        }
        {
                return secSequence.size();
        }
+       eSecCommandList &operator=(const eSecCommandList &lst)
+       {
+               secSequence = lst.secSequence;
+               cur = begin();
+               return *this;
+       }
 };
 #endif
 
 };
 #endif