mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 20:47:10 +11:00
🐛 fixed last commit
This commit is contained in:
parent
ae7f3e7cfa
commit
5114e19737
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#include "json_filter.h"
|
#include "json_filter.h"
|
||||||
|
|
||||||
constexpr bool Contains(std::string_view str, const std::string &val)
|
inline bool Contains(std::string_view str, const std::string &val)
|
||||||
{
|
{
|
||||||
return str.find(val) != std::string::npos;
|
return str.find(val) != std::string::npos;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#include "user_filter.h"
|
#include "user_filter.h"
|
||||||
|
|
||||||
constexpr 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