Skip to content

Commit

Permalink
[Update] date
Browse files Browse the repository at this point in the history
  • Loading branch information
choishingwan committed Sep 20, 2021
1 parent f4a8401 commit 9dbf55e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions inc/commander.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#endif

const std::string version = "2.3.5";
const std::string date = "2021-04-06";
const std::string date = "2021-09-20";
class Commander
{
public:
Expand Down Expand Up @@ -351,7 +351,9 @@ class Commander
bool value = false;
size_t num_repeat = number_boolean(bin, value);
for (size_t i = 0; i < num_repeat; ++i)
{ target.push_back(value); }
{
target.push_back(value);
}
}
catch (const std::runtime_error&)
{
Expand Down Expand Up @@ -517,7 +519,9 @@ class Commander
inline void append_log(const std::string& c, const std::string& input)
{
if (m_parameter_log.find(c) == m_parameter_log.end())
{ m_parameter_log[c] = input; }
{
m_parameter_log[c] = input;
}
else
{
m_parameter_log[c] = "," + input;
Expand Down

0 comments on commit 9dbf55e

Please sign in to comment.