diff options
author | Rob Hughes <robert.hughes@arm.com> | 2019-07-23 15:37:19 +0100 |
---|---|---|
committer | Rob Hughes <robert.hughes@arm.com> | 2019-07-23 15:58:27 +0100 |
commit | 9e10c2b9ee9ce2e8f74f80e22842a47479ba1174 (patch) | |
tree | 98563dfcbc948c4071dd88a90e886cc9e1858942 /tests | |
parent | b0f1dd7171836af19e632dff0b90065a8710f5fa (diff) | |
download | armnn-9e10c2b9ee9ce2e8f74f80e22842a47479ba1174.tar.gz |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/InferenceModel.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |