diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2018-01-25 21:23:40 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2018-01-25 21:23:40 -0800 |
commit | aefa8fec6a473be459a2ff33e6bd96e7c22ced20 (patch) | |
tree | 27dc69cabe181d3f6fd489454bef878ff8833bed /linkify | |
parent | d1df4aca1746f480dca384e63f8bcb4f3ac1d42c (diff) | |
download | mu-aefa8fec6a473be459a2ff33e6bd96e7c22ced20.tar.gz |
4198
Diffstat (limited to 'linkify')
-rw-r--r-- | linkify/linkify.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linkify/linkify.cc b/linkify/linkify.cc index 14d792c1..58f37840 100644 --- a/linkify/linkify.cc +++ b/linkify/linkify.cc @@ -79,7 +79,7 @@ void encode_some_html_entities(string& s) { } void read_tags(const string& filename, map<string, syminfo>& info) { - ifstream in(filename); + ifstream in(filename.c_str()); //? cerr << "reading " << filename << '\n'; string dummy; while (has_data(in)) { @@ -108,8 +108,8 @@ void read_tags(const string& filename, map<string, syminfo>& info) { void replace_tags_in_file(const string& filename, const map<string, syminfo>& info) { //? cerr << info.size() << " symbols\n"; - ifstream in(filename); - ofstream out(filename+".out"); + ifstream in(filename.c_str()); + ofstream out((filename+".out").c_str()); while (has_data(in)) { // send lines that don't start with '<span' straight through string line; |