adamdebreceni commented on a change in pull request #1225:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1225#discussion_r768542906
##########
File path: libminifi/src/provenance/Provenance.cpp
##########
@@ -45,13 +45,13 @@ const char
*ProvenanceEventRecord::ProvenanceEventTypeStr[REPLAY + 1] = { "CREAT
ProvenanceEventRecord::ProvenanceEventRecord(ProvenanceEventRecord::ProvenanceEventType
event, std::string componentId, std::string componentType)
: core::SerializableComponent(core::getClassName<ProvenanceEventRecord>()),
- _entryDate(0),
- _lineageStartDate(0),
+ _entryDate(std::chrono::time_point<std::chrono::system_clock>()),
Review comment:
is there any advantage using this over
`std::chrono::system_clock::time_point`? the latter is not much shorter so I
don't insist on changing it, just asking
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]