No more date to avoid triggering svn changes
parent
819d3273f4
commit
c2e14b9f06
|
@ -8,12 +8,10 @@
|
|||
#include "FileWriter.h"
|
||||
#include "utilities.h"
|
||||
|
||||
#include <boost/date_time/gregorian/gregorian.hpp>
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
using namespace boost::gregorian;
|
||||
using namespace wrap;
|
||||
|
||||
/* ************************************************************************* */
|
||||
|
@ -41,10 +39,8 @@ void FileWriter::emit(bool add_header, bool force_overwrite) const {
|
|||
if (!ofs) throw CantOpenFile(filename_);
|
||||
|
||||
// header
|
||||
if (add_header) {
|
||||
date today = day_clock::local_day();
|
||||
ofs << comment_str_ << " automatically generated by wrap on " << today << endl;
|
||||
}
|
||||
if (add_header)
|
||||
ofs << comment_str_ << " automatically generated by wrap" << endl;
|
||||
|
||||
// dump in stringstream
|
||||
ofs << new_contents;
|
||||
|
|
Loading…
Reference in New Issue