mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 20:47:10 +11:00
made more portable
This commit is contained in:
parent
4914490b42
commit
7d26eb9341
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#include "user_filter.h"
|
#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)
|
if (name.size() < min_name_size || name.size() > max_name_size)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue