if(lst.size() > 1) {
std::string all_in_one = "./dictionary-all-in-one.xml";
- std::ofstream out(all_in_one, std::ifstream::out);
+ std::ofstream out(all_in_one.c_str(), std::ifstream::out);
std::string buffer = d->asXMLString();
out.write(buffer.c_str(), buffer.size());
out.close();
decodeDataBlock(db_aux, detectedApplicationId);
// Open output file:
outputFile += ".as.xml";
- std::ofstream out(outputFile, std::ifstream::out);
+ std::ofstream out(outputFile.c_str(), std::ifstream::out);
out << G_codecMsg.asXMLString();
// Close output file:
out.close();
// Print payloads //////////////////////////////////////////////////////////////////////////////////////////////
// Open output file:
outputFile += ".report";
- std::ofstream out(outputFile, std::ifstream::out);
+ std::ofstream out(outputFile.c_str(), std::ifstream::out);
for(payloads_it it = G_payloads.begin(); it != G_payloads.end(); it++) {
LOGDEBUG(