From bcb6fbf75e5f1ac0c694a4389a117551a3194cbc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lo=C3=AFc=20Collignon?= Date: Fri, 17 Mar 2017 23:30:57 +0100 Subject: [PATCH] fixed compilation error on iotbzh's docker image. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Loïc Collignon --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.16.6