Skip to content
Snippets Groups Projects
Commit 2c8e0c74 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

[#1910] Remove compilation warnings in src/dbus and src/history

parent 2cc2b01e
Branches
No related tags found
No related merge requests found
......@@ -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)
{
}
......
......@@ -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 ("")
{
}
......
......@@ -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;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment