From 7d26eb9341a461821bb9527a9c7c72512730160e Mon Sep 17 00:00:00 2001 From: William Katz Date: Sat, 31 Jul 2021 23:05:52 -0700 Subject: [PATCH] made more portable --- src/user_filter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user_filter.cpp b/src/user_filter.cpp index 3d38090..95d6bad 100644 --- a/src/user_filter.cpp +++ b/src/user_filter.cpp @@ -1,6 +1,6 @@ #include "user_filter.h" -__attribute__((always_inline)) inline bool ValidUsername(const std::string &name) noexcept +inline bool ValidUsername(const std::string &name) noexcept { if (name.size() < min_name_size || name.size() > max_name_size) {