Exemple #1
0
bool ini_on_update(const folly::dynamic& value, std::set<std::string>& p) {
    INI_ASSERT_ARR(value);
    for (auto& v : value.values()) {
        p.insert(v.data());
    }
    return true;
}
Exemple #2
0
bool ini_on_update(const folly::dynamic& value, std::vector<std::string>& p) {
  INI_ASSERT_ARR(value);
  for (auto& v : value.values()) {
    p.push_back(v.data());
  }
  return true;
}