aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2017-03-17 23:30:57 +0100
committerLoïc Collignon <loic.collignon@iot.bzh>2017-03-17 23:30:57 +0100
commitbcb6fbf75e5f1ac0c694a4389a117551a3194cbc (patch)
tree72dcc266c8b46f89175cd199677640c5ab7bfac7
parent9a87ae1f0d8ebf2b9535e9e41a9c0abd1eba359d (diff)
fixed compilation error on iotbzh's docker image.
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4b3feb27..55f956ef 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -343,7 +343,7 @@ int main(int argc, char** argv)
std::ofstream out;
if (output_file.size())
{
- out = std::ofstream(output_file);
+ out.open(output_file);
if(!out)
{
std::stringstream ss;