Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Feb 1, 2024
1 parent 45d7603 commit 726c7ac
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/meta/app_env_validator.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,10 @@ class app_env_validator : public utils::singleton<app_env_validator>
std::string sample;
validator_func validator;

EnvInfo(ValueType t, std::string ld, std::string s, validator_func v);
EnvInfo(ValueType t, std::string s, validator_func v)
: EnvInfo(t, "", std::move(s), std::move(v))
{
}
EnvInfo(ValueType t, validator_func v) : EnvInfo(t, "", "", std::move(v)) {}
EnvInfo(ValueType t) : EnvInfo(t, "", "", validator_func()) {}
EnvInfo(ValueType t,
std::string ld = "",
std::string s = "",
validator_func v = validator_func());
};
std::map<std::string, EnvInfo> _validator_funcs;

Expand Down

0 comments on commit 726c7ac

Please sign in to comment.