diff options
| author | 2016-07-11 07:24:02 -0400 | |
|---|---|---|
| committer | 2016-07-11 07:24:02 -0400 | |
| commit | 96066caca0b5f078de529bb0c53971b7c1f4d552 (patch) | |
| tree | 713f57d530df8e45b6b7d8127789e08ad87dc574 /src/tools/src2html.cpp | |
| parent | e1f3bc9b8a875dd211c4b60e54fb4f7f17c1dafc (diff) | |
Removed some c_str() calls that are no longer necessary
Diffstat (limited to 'src/tools/src2html.cpp')
| -rw-r--r-- | src/tools/src2html.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/src2html.cpp b/src/tools/src2html.cpp index 9d89a7d220f..e64fa12a162 100644 --- a/src/tools/src2html.cpp +++ b/src/tools/src2html.cpp @@ -411,7 +411,7 @@ static int recurse_dir(int srcrootlen, int dstrootlen, std::string &srcdir, std: // make sure we care, first file_type type = FILE_TYPE_INVALID; for (auto & elem : extension_lookup) - if (core_filename_ends_with(curlist->name.c_str(), elem.extension)) + if (core_filename_ends_with(curlist->name, elem.extension)) { type = elem.type; break; |
