diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2021-05-07 09:07:20 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2021-05-07 09:07:20 +0200 |
| commit | 9bc9ab691afeeb676ae9b3c386a49c13a453dc0b (patch) | |
| tree | 5a0d86c07202375a48fe844b494bb98299122958 /src/Inputs.cc | |
| parent | b7abfc66f0a5a30e9703908c018032d68e65d6b7 (diff) | |
Debug parser and cleaning
Diffstat (limited to 'src/Inputs.cc')
| -rw-r--r-- | src/Inputs.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Inputs.cc b/src/Inputs.cc index de81aec..d71d8f7 100644 --- a/src/Inputs.cc +++ b/src/Inputs.cc @@ -5,7 +5,7 @@ #include <fstream> Inputs::Inputs(std::string node_name){ - // Here we doing all the boring stuff + // Here we do all the boring stuff FILE* input_file = fopen(INPUTS_FILE, "rb"); char input_file_buffer[JSON_BUFFER_SIZE]; rapidjson::FileReadStream is(input_file, input_file_buffer, sizeof(input_file_buffer)); @@ -64,7 +64,7 @@ void Inputs::MergeEvents(){ } double Inputs::GetNextTS(){ - // Ensure the caller is smart + // Ensure that the caller is smart if(wake_duration.size()<2){ std::cerr << "You are trying to access to the next timestamp but it does not exists" <<std::endl; exit(1); @@ -73,7 +73,7 @@ double Inputs::GetNextTS(){ } double Inputs::GetNextDuration(){ - // Ensure the caller is smart + // Ensure that the caller is smart if(wake_duration.size()<2){ std::cerr << "You are trying to access to the next duration but it does not exists" <<std::endl; exit(1); |
