mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
removed folderIterator::d_name() because it duplicates file_name()
This commit is contained in:
parent
32816eda71
commit
957d48b5fc
5 changed files with 4 additions and 28 deletions
|
@ -147,8 +147,7 @@ void RsPluginManager::loadPlugins(const std::vector<std::string>& plugin_directo
|
|||
|
||||
for(;dirIt.isValid();dirIt.next())
|
||||
{
|
||||
std::string fname;
|
||||
dirIt.d_name(fname);
|
||||
std::string fname = dirIt.file_name();
|
||||
|
||||
char lc = plugin_directories[i][plugin_directories[i].length()-1] ; // length cannot be 0 here.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue