Changed PersonEntry::operator=, returned *this

Removed not needed include

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3402 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-08-30 09:56:11 +00:00
parent 66f3c7fee8
commit 09ec26e387
2 changed files with 1 additions and 2 deletions

View File

@ -173,7 +173,7 @@ DirEntry &operator=(DirEntry &src)
{ {
DirEntry *pdest = this; DirEntry *pdest = this;
(*pdest) = src; (*pdest) = src;
return src; return *this;
} }
/* Data */ /* Data */

View File

@ -29,7 +29,6 @@
#include <QDomDocument> #include <QDomDocument>
#include <QDir> #include <QDir>
#include <rshare.h> #include <rshare.h>
#include "gui/MainWindow.h"
#include "gui/settings/rsharesettings.h" #include "gui/settings/rsharesettings.h"
#include "helpbrowser.h" #include "helpbrowser.h"