Missed a getEpoch() call.
[shibboleth/cpp-xmltooling.git] / xmltooling / base.h
index 85f2f54..e1c7199 100644 (file)
         void set##proper(const XMLCh* proper) { \\r
             m_##proper = prepareForAssignment(m_##proper,proper,duration); \\r
             if (m_##proper) \\r
-                m_##proper##Epoch=m_##proper->getEpoch(); \\r
+                m_##proper##Epoch=m_##proper->getEpoch(duration); \\r
         }\r
 \r
 /**\r