diff options
author | David Robillard <d@drobilla.net> | 2020-12-19 11:58:34 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-19 12:02:24 +0100 |
commit | 2a09c19703b242aaf693e5b52a70c1ad65332119 (patch) | |
tree | fcaf9fdffa4dcb80a74fc4e1b2c90e81e7e20fb6 /include/raul/Symbol.hpp | |
parent | 5680e5900f6fb89ec66af6480a7d125fc8960552 (diff) | |
download | raul-2a09c19703b242aaf693e5b52a70c1ad65332119.tar.gz raul-2a09c19703b242aaf693e5b52a70c1ad65332119.tar.bz2 raul-2a09c19703b242aaf693e5b52a70c1ad65332119.zip |
Avoid "else" after "return"
Diffstat (limited to 'include/raul/Symbol.hpp')
-rw-r--r-- | include/raul/Symbol.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/raul/Symbol.hpp b/include/raul/Symbol.hpp index 4814334..4f762f8 100644 --- a/include/raul/Symbol.hpp +++ b/include/raul/Symbol.hpp @@ -120,9 +120,9 @@ public: if (is_valid_start_char(out[0])) { return Symbol(out); - } else { - return Symbol(std::string("_") + out); } + + return Symbol(std::string("_") + out); } }; |