aboutsummaryrefslogtreecommitdiff
path: root/tests/InferenceModel.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/InferenceModel.hpp')
-rw-r--r--tests/InferenceModel.hpp2
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);
}