From 2eaa2875f0f2523439beb623fc63146ef295c8cc Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Wed, 9 Oct 2024 17:28:35 -0500 Subject: Use const references and constexpr as applicable. --- include/libfud.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/libfud.hpp') 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 getEnv(const char* name); template -concept CStringRepr = requires(T a) { - { a.c_str() } -> std::convertible_to; +concept CStringRepr = requires(T strObj) { + { strObj.c_str() } -> std::convertible_to; }; template -- cgit v1.2.3