return false;
}
- SBuf cvalue(StringToSBuf(value));
+ auto cvalue = StringToSBuf(value);
return regex_rule->match(cvalue.c_str());
}
for (auto &entry: note->entries) {
if (delimiters) {
NotePairs::Entry e(entry->name.termedBuf(), "");
- Parser::Tokenizer t(SBuf(StringToSBuf(entry->value)));
+ Parser::Tokenizer t(StringToSBuf(entry->value));
SBuf s;
while (t.token(s, *delimiters)) {
e.value = s.c_str();
request = theCause;
Must(request);
Adaptation::History::Pointer ah = request->adaptHistory(true);
- SBuf gid(StringToSBuf(theGroup->id));
+ auto gid = StringToSBuf(theGroup->id);
ah->recordAdaptationService(gid);
}
if (Adaptation::Config::needHistory) {
Adaptation::History::Pointer ah = request->adaptHistory(true);
- SBuf uid(StringToSBuf(thePlan.current()->cfg().key));
+ auto uid = StringToSBuf(thePlan.current()->cfg().key);
ah->recordAdaptationService(uid);
}
Mgr::ActionParams::pack(Ipc::TypedMsgHdr &msg) const
{
msg.putString(httpUri);
- String foo(SBufToString(httpMethod.image()));
+ auto foo = SBufToString(httpMethod.image());
msg.putString(foo);
msg.putPod(httpFlags);
msg.putString(httpOrigin);