Spring cleaning
[platform/core/test/security-tests.git] / src / framework / src / test_results_collector_summary.cpp
index efcaa31..b9bb8f2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014-2015 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2014-2020 Samsung Electronics Co., Ltd. All rights reserved
  *
  *    Licensed under the Apache License, Version 2.0 (the "License");
  *    you may not use this file except in compliance with the License.
@@ -76,7 +76,7 @@ void SummaryCollector::Finish()
 
 void SummaryCollector::writeStats(bool segfault)
 {
-    m_output.open(m_filename.c_str(), std::ofstream::out | std::ofstream::trunc);
+    m_output.open(m_filename, std::ofstream::out | std::ofstream::trunc);
     if (!m_output) {
         LogPedantic("Could not open file " << m_filename << " for writing");
         return;