{
SBufList sl;
sl.push_back(SBuf(hdrName));
- sl.splice(sl.end(),regex_rule->dump());
+ // temp is needed until c++11 move-constructor
+ SBufList temp = regex_rule->dump();
+ sl.splice(sl.end(), temp);
return sl;
}
{
SBufList sl;
sl.push_back(SBuf(name));
- sl.splice(sl.end(),values->dump());
+ // temp is needed until c++11 move constructor
+ SBufList temp = values->dump();
+ sl.splice(sl.end(), temp);
return sl;
}
++action;
}
- text.splice(text.end(),(*node)->dump());
+ // temp is needed until c++11 move constructor
+ SBufList temp = (*node)->dump();
+ text.splice(text.end(), temp);
text.push_back(SBuf("\n"));
}
return text;