rule_add cleanup

master
Daniel Kolesa 2015-11-23 21:26:07 +00:00
parent 2303cf970a
commit 550cab584b
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ struct ObState {
return wait_result([&target, this]() { return exec_rule(target); });
}
void rule_add(const char *tgt, const char *dep, ostd::Uint32 *body,
void rule_add(ConstCharRange tgt, ConstCharRange dep, ostd::Uint32 *body,
bool action = false) {
auto targets = cscript::util::list_explode(tgt);
for (auto &target: targets.iter()) {