aboutsummaryrefslogtreecommitdiff
path: root/src/timelineDecoder/JSONTimelineDecoder.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timelineDecoder/JSONTimelineDecoder.hpp')
-rw-r--r--src/timelineDecoder/JSONTimelineDecoder.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/timelineDecoder/JSONTimelineDecoder.hpp b/src/timelineDecoder/JSONTimelineDecoder.hpp
index 38d698387a..4d6fcecebd 100644
--- a/src/timelineDecoder/JSONTimelineDecoder.hpp
+++ b/src/timelineDecoder/JSONTimelineDecoder.hpp
@@ -7,10 +7,9 @@
#include <armnn/profiling/ITimelineDecoder.hpp>
+#include <Filesystem.hpp>
#include <map>
#include <vector>
-#include <boost/filesystem/path.hpp>
-#include <boost/filesystem.hpp>
namespace armnn
{
@@ -65,8 +64,7 @@ public:
private:
Model m_Model;
- boost::filesystem::path fileDir = boost::filesystem::temp_directory_path();
- boost::filesystem::path p{fileDir / boost::filesystem::unique_path("output.json")};
+ fs::path p = armnnUtils::Filesystem::NamedTempFile("output.json");
std::string outputJSONFile = p.string();