diff --git a/lib/symboldatabase.h b/lib/symboldatabase.h index 53ce30eb1..c81e3ae42 100644 --- a/lib/symboldatabase.h +++ b/lib/symboldatabase.h @@ -843,8 +843,6 @@ public: bool isCPP() const; private: - - // Needed by Borland C++: friend class Scope; void addClassFunction(Scope **info, const Token **tok, const Token *argStart); diff --git a/lib/timer.cpp b/lib/timer.cpp index 8c9bdf360..e39284520 100644 --- a/lib/timer.cpp +++ b/lib/timer.cpp @@ -15,14 +15,13 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + +#include "timer.h" #include #include #include -#include "timer.h" /* TODO: - - sort list by time - - do not sort the results alphabetically - rename "file" to "single" - synchronise map access in multithreaded mode or disable timing - add unit tests