From 9e10c2b9ee9ce2e8f74f80e22842a47479ba1174 Mon Sep 17 00:00:00 2001 From: Rob Hughes Date: Tue, 23 Jul 2019 15:37:19 +0100 Subject: Fix various uses of non-standard C++: * Replace u_int32_t with uint32_t * Replace size_t with uint32_t for initializer list of TensorInfo * Replace variable size arrays with std::vector * Replace reference to local variable during its initialisation Change-Id: I298b3995f1525f90a1ab2416d7e270315698fae3 --- tests/InferenceModel.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/InferenceModel.hpp b/tests/InferenceModel.hpp index 8e463ec326..4ad5872057 100644 --- a/tests/InferenceModel.hpp +++ b/tests/InferenceModel.hpp @@ -400,7 +400,7 @@ public: { boost::filesystem::path filename = params.m_ModelPath; filename.replace_extension("dot"); - std::fstream file(filename.c_str(),file.out); + std::fstream file(filename.c_str(), std::ios_base::out); optNet->SerializeToDot(file); } -- cgit v1.2.1