diff options
author | David Robillard <d@drobilla.net> | 2022-06-29 09:44:11 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-07-20 16:24:23 -0400 |
commit | cf72f2855fccaf1c579388bcdba2a219a9983d96 (patch) | |
tree | 8ce97ba5feeb262b77ff77f051e63a2107e0b08a /include/raul/Symbol.hpp | |
parent | d3bb4e9c2dba3cebfa7ce9f37d32e54ec2fe14a3 (diff) | |
download | raul-cf72f2855fccaf1c579388bcdba2a219a9983d96.tar.gz raul-cf72f2855fccaf1c579388bcdba2a219a9983d96.tar.bz2 raul-cf72f2855fccaf1c579388bcdba2a219a9983d96.zip |
Remove redundant inline specifiers
Diffstat (limited to 'include/raul/Symbol.hpp')
-rw-r--r-- | include/raul/Symbol.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/raul/Symbol.hpp b/include/raul/Symbol.hpp index 8b8704c..e362f4d 100644 --- a/include/raul/Symbol.hpp +++ b/include/raul/Symbol.hpp @@ -73,19 +73,19 @@ public: ~Symbol() = default; /// Return true iff `c` is a valid Symbol start character - static inline bool is_valid_start_char(char c) + static bool is_valid_start_char(char c) { return (c == '_') || (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'); } /// Return true iff `c` is a valid Symbol character - static inline bool is_valid_char(char c) + static bool is_valid_char(char c) { return is_valid_start_char(c) || (c >= '0' && c <= '9'); } /// Return true iff `str` is a valid Symbol - static inline bool is_valid(const std::basic_string<char>& str) + static bool is_valid(const std::basic_string<char>& str) { if (str.empty() || (str[0] >= '0' && str[0] <= '9')) { return false; // Must start with a letter or underscore @@ -100,7 +100,7 @@ public: This will make a best effort at turning `str` into a complete, valid Symbol, and will always return one. */ - static inline Symbol symbolify(const std::basic_string<char>& in) + static Symbol symbolify(const std::basic_string<char>& in) { if (in.empty()) { return Symbol("_"); |