{
}
-void add(std::string strLabel, std::string strValue)
+void add(const std::string strLabel, const std::string strValue)
{
tagData.insert( {strLabel, strValue});
return;
std::unordered_map<std::string, std::string>tagData;
private:
- const char *strSep = "\t";
+ static constexpr char const *strSep = "\t";
};
rr->set_type(uType);
rr->set_class_(uClass);
rr->set_ttl(uTTL);
- rr->set_rdata((const uint8_t *) strBlob.c_str(), strBlob.size());
+ rr->set_rdata(strBlob.c_str(), strBlob.size());
}
#endif /* HAVE_PROTOBUF */