From b4adbd9d70b083a262554d333bb8b94ec240ccbe Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 17 Mar 2016 17:13:09 -0400 Subject: [PATCH] Database: Cleaned up ::dump output --- src/Database.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Database.cpp b/src/Database.cpp index 4d7b0486..bae77e21 100644 --- a/src/Database.cpp +++ b/src/Database.cpp @@ -28,7 +28,6 @@ #include #include #include -#include // TODO Remove #include #include @@ -46,8 +45,6 @@ void Database::initialize (const std::string& location) { if (file != _current) _data_files.push_back (file); - - std::cout << "# data file " << file << "\n"; } } @@ -58,9 +55,9 @@ void Database::initialize (const std::string& location) std::string Database::dump () const { std::stringstream out; - out << "# Database\n"; + out << "Database\n"; for (const auto& file : _data_files) - out << "# Data: " << file << "\n"; + out << " Data: " << file << "\n"; return out.str (); }