martinzink commented on code in PR #1369:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1369#discussion_r922238458
##########
extensions/sftp/tests/PutSFTPTests.cpp:
##########
@@ -506,7 +507,7 @@ TEST_CASE_METHOD(PutSFTPTestsFixture, "PutSFTP set mtime",
"[PutSFTP]") {
testFile("nifi_test/tstFile1.ext", "content 1");
using namespace std::chrono; // NOLINT(build/namespaces)
- time_point<system_clock> modification_time = sys_days(January / 24 / 2065) +
5h + 20min;
+ system_clock::time_point modification_time = date::sys_days(date::January /
24 / 2065) + 5h + 20min;
Review Comment:
I found this during development, because it didnt compile on centos (usually
this is not a problem because -DSKIP_TESTS is hardcoded to be ON)
--
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]