diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-09 17:28:35 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-09 17:28:35 -0500 |
commit | 2eaa2875f0f2523439beb623fc63146ef295c8cc (patch) | |
tree | 9bf8ccc66864b35456f449c0fd58e76600e133f4 /include/libfud.hpp | |
parent | 79620980ea3880f6512a35b9d688a60a02ff8b98 (diff) |
Use const references and constexpr as applicable.
Diffstat (limited to 'include/libfud.hpp')
-rw-r--r-- | include/libfud.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libfud.hpp b/include/libfud.hpp index c670ed4..5bc1630 100644 --- a/include/libfud.hpp +++ b/include/libfud.hpp @@ -51,8 +51,8 @@ FUD fud(); Result<String, FudStatus> getEnv(const char* name); template <typename T> -concept CStringRepr = requires(T a) { - { a.c_str() } -> std::convertible_to<const char*>; +concept CStringRepr = requires(T strObj) { + { strObj.c_str() } -> std::convertible_to<const char*>; }; template <CStringRepr T> |