commit | 3a433238315411f527538a29ccba4f68bfbf4396 | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Wed Jul 08 17:52:50 2020 +0200 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Fri Jul 10 11:49:03 2020 +0200 |
tree | 602a9f7c76c159bd0a94c41c489a6ccf47b6f91d | |
parent | 59e4ee409e9aff87d1d70dcd0dca3cfd6ff67c02 [diff] [blame] |
Get rid of single-line if statements Change-Id: I2b603563c650e83354af95ee6fb2fb4c9134fe86
diff --git a/src/utils.cpp b/src/utils.cpp index e151417..b3d3601 100644 --- a/src/utils.cpp +++ b/src/utils.cpp
@@ -189,10 +189,11 @@ std::string operator()(const bool& data) const { - if (data) + if (data) { return "true"; - else + } else { return "false"; + } } template <typename T>