🐛 made inline

This commit is contained in:
William Katz 2021-07-31 22:49:33 -07:00 committed by GitHub
parent e399a5bc16
commit 4914490b42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ using namespace drogon;
#define SET_CHANGES_ON
#endif
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)
{