diff --git a/libretroshare/src/dbase/findex.h b/libretroshare/src/dbase/findex.h index cbb9e5d6b..2bd05d2bf 100644 --- a/libretroshare/src/dbase/findex.h +++ b/libretroshare/src/dbase/findex.h @@ -173,7 +173,7 @@ DirEntry &operator=(DirEntry &src) { DirEntry *pdest = this; (*pdest) = src; - return src; + return *this; } /* Data */ diff --git a/retroshare-gui/src/gui/help/browser/helpbrowser.cpp b/retroshare-gui/src/gui/help/browser/helpbrowser.cpp index 7f656b86d..1c3e24b2d 100644 --- a/retroshare-gui/src/gui/help/browser/helpbrowser.cpp +++ b/retroshare-gui/src/gui/help/browser/helpbrowser.cpp @@ -29,7 +29,6 @@ #include #include #include -#include "gui/MainWindow.h" #include "gui/settings/rsharesettings.h" #include "helpbrowser.h"