diff --git a/sflphone-common/src/history/historyitem.cpp b/sflphone-common/src/history/historyitem.cpp index 90a5ff02a5706d8eb75b89790bfb0052cef06f86..fd33f8de345cd36b6154bda152c023ed88b6d7d4 100644 --- a/sflphone-common/src/history/historyitem.cpp +++ b/sflphone-common/src/history/historyitem.cpp @@ -27,7 +27,12 @@ #define EMPTY_STRING "empty" HistoryItem::HistoryItem (std::string timestamp_start, CallType call_type, std::string timestamp_stop, std::string name, std::string number, std::string account_id) - : _timestamp_start (timestamp_start), _call_type (call_type), _timestamp_stop (timestamp_stop), _name (name), _number (number), _account_id (account_id) + : _timestamp_start (timestamp_start), + _timestamp_stop (timestamp_stop), + _call_type (call_type), + _name (name), + _number (number), + _account_id (account_id) { } diff --git a/sflphone-common/src/history/historymanager.cpp b/sflphone-common/src/history/historymanager.cpp index 8cb5fc7b9f64e24c53a574509da95bc2e8412c64..f2fda5c38bfa545eafbbc7791d456ae1f1dcbdd1 100644 --- a/sflphone-common/src/history/historymanager.cpp +++ b/sflphone-common/src/history/historymanager.cpp @@ -23,7 +23,9 @@ #include <cc++/file.h> #include <time.h> -HistoryManager::HistoryManager () : _history_loaded (false), _history_path ("") +HistoryManager::HistoryManager () + : _history_loaded (false), + _history_path ("") { } diff --git a/sflphone-common/src/history/historymanager.h b/sflphone-common/src/history/historymanager.h index 7fadbcdadc57e7badfb6bba9ce0db59981db9bb8..b00b509c3c4d7370e3ef1639e4f598aa074ccf37 100644 --- a/sflphone-common/src/history/historymanager.h +++ b/sflphone-common/src/history/historymanager.h @@ -121,17 +121,17 @@ class HistoryManager { */ HistoryItemMap _history_items; + /* + * History has been loaded + */ + bool _history_loaded; + /* * The path to the history file */ std::string _history_path; - /* - * History has been loaded - */ - bool _history_loaded; - friend class HistoryTest; };