diff options
author | Chris Johns <chrisj@rtems.org> | 2014-09-06 20:17:56 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-09-06 20:17:56 +1000 |
commit | 3eb00648c06a63504d2bca0028075dff2715d5e1 (patch) | |
tree | b24e197cb52eb7402c386531a3a5c0c55dc8e9ca /rld.cpp | |
parent | a13d0cb38bd94d1963cd62a9c6638bfb5143722e (diff) |
Add a path str. Remove the duplicate split call.
Diffstat (limited to 'rld.cpp')
-rw-r--r-- | rld.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -93,24 +93,6 @@ namespace rld } void - split (const std::string& str, strings& strs, char separator) - { - if (str.size ()) - { - std::string::size_type start = 0; - std::string::size_type end = 0; - while (start != std::string::npos) - { - end = str.find_first_of (separator, start); - if (end == std::string::npos) - end = str.size (); - strs.push_back (str.substr (start, end - start)); - start = str.find_first_not_of (separator, end); - } - } - } - - void map (rld::files::cache& cache, rld::symbols::table& symbols) { std::cout << "Archive files : " << cache.archive_count () << std::endl; |