projects
/
shibboleth
/
cpp-xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
https://issues.shibboleth.net/jira/browse/CPPXT-18
[shibboleth/cpp-xmltooling.git]
/
xmltooling
/
AbstractXMLObject.cpp
diff --git
a/xmltooling/AbstractXMLObject.cpp
b/xmltooling/AbstractXMLObject.cpp
index
a8461a4
..
0f49b55
100644
(file)
--- a/
xmltooling/AbstractXMLObject.cpp
+++ b/
xmltooling/AbstractXMLObject.cpp
@@
-132,7
+132,7
@@
DateTime* AbstractXMLObject::prepareForAssignment(DateTime* oldValue, time_t new
{
delete oldValue;
releaseThisandParentDOM();
- DateTime* ret = new DateTime(newValue);
+ DateTime* ret = new DateTime(newValue
, duration
);
if (duration)
ret->parseDuration();
else