Make stuff more constant

This commit is contained in:
2020-04-17 11:13:40 +02:00
parent 21b5cc4208
commit 140247f4cb
2 changed files with 3 additions and 3 deletions
+2 -1
View File
@@ -8,10 +8,11 @@ class BinaryWriter {
const std::string device_name_;
const std::string root_folder_;
const std::string latest_filename_;
std::string current_output_filename_;
int output_file_fd_;
std::string latest_filename_;
public:
BinaryWriter(
+1 -2
View File
@@ -15,11 +15,10 @@ BinaryWriter::BinaryWriter(
const string& root_folder) :
device_name_(device_name),
root_folder_(root_folder),
latest_filename_(root_folder + "/" + device_name + "/LATEST"),
current_output_filename_(""),
output_file_fd_(-1)
{
latest_filename_ = root_folder + "/" + device_name + "/LATEST";
#ifdef DEBUG_OUTPUT
using namespace date;
using namespace chrono;