Remove false friend declarations
The single use from friended class is in public interface. Removal of friend designators allows Clang to pinpoint few additional unused private fields.
This commit is contained in:
parent
3be0409d25
commit
8da42c5983
5 changed files with 13 additions and 37 deletions
|
@ -1275,7 +1275,7 @@ void DOS_Shell::CMD_SUBST (char * args) {
|
|||
|
||||
if( ( ldp=dynamic_cast<localDrive*>(Drives[drive])) == 0 ) throw 0;
|
||||
char newname[CROSS_LEN];
|
||||
strcpy(newname, ldp->basedir);
|
||||
strcpy(newname, ldp->getBasedir());
|
||||
strcat(newname,fulldir);
|
||||
CROSS_FILENAME(newname);
|
||||
ldp->dirCache.ExpandName(newname);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue