mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-15 15:52:13 +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"
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue