From 476d0c07e5496ace57956218831665a6951fe3bd Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 15 Nov 2017 15:49:31 +0100 Subject: [PATCH] feat(hacks): enforce doc --- src/hacks/hacks.cpp | 2 ++ src/hacks/hacks.h | 9 ++++----- src/logger/logger.cpp | 2 ++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/hacks/hacks.cpp b/src/hacks/hacks.cpp index a4123a9ad..2fa8fe12a 100644 --- a/src/hacks/hacks.cpp +++ b/src/hacks/hacks.cpp @@ -25,4 +25,6 @@ using namespace std; LINPHONE_BEGIN_NAMESPACE +// Place your hacks here. + LINPHONE_END_NAMESPACE diff --git a/src/hacks/hacks.h b/src/hacks/hacks.h index 5e58d07fa..b278f765d 100644 --- a/src/hacks/hacks.h +++ b/src/hacks/hacks.h @@ -20,22 +20,21 @@ #ifndef _HACKS_H_ #define _HACKS_H_ -#include - #include "linphone/utils/general.h" // ============================================================================= LINPHONE_BEGIN_NAMESPACE -// This class has the purpose to centralize the temporary hacks so that they -// can be located more easily. +/* + * This class has the purpose to centralize the TEMPORARY (!!!) hacks so that they + * can be located more easily. Useful for dev cpp refactoring. + */ class Hacks { public: Hacks () = delete; private: - L_DISABLE_COPY(Hacks); }; diff --git a/src/logger/logger.cpp b/src/logger/logger.cpp index 44dff8426..bfa5365fb 100644 --- a/src/logger/logger.cpp +++ b/src/logger/logger.cpp @@ -32,6 +32,8 @@ using namespace std; LINPHONE_BEGIN_NAMESPACE +// ----------------------------------------------------------------------------- + class LoggerPrivate : public BaseObjectPrivate { public: Logger::Level level;