You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2021/02/15 14:34:48 UTC

[GitHub] [nifi-minifi-cpp] martinzink commented on a change in pull request #1001: MINIFICPP-1491: Fixing build failures in Tensorflow extension

martinzink commented on a change in pull request #1001:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1001#discussion_r576233353



##########
File path: libminifi/test/tensorflow-tests/TensorFlowTests.cpp
##########
@@ -45,8 +45,8 @@ TEST_CASE("TensorFlow: Apply Graph", "[tfApplyGraph]") { // NOLINT
   auto repo = std::make_shared<TestRepository>();
 
   // Define directory for input protocol buffers
-  std::string in_dir("/tmp/gt.XXXXXX");
-  REQUIRE(testController.createTempDirectory(&in_dir[0]) != nullptr);
+  char in_dir_format[] = "/tmp/gt.XXXXXX";
+  std::string in_dir = testController.createTempDirectory(in_dir_format);

Review comment:
       The createTempDirectory-s behavior was changed in a6876db




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org