summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/HistoryStats/src/mirandasettings.cpp4
-rw-r--r--plugins/HistoryStats/src/mirandasettings.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/HistoryStats/src/mirandasettings.cpp b/plugins/HistoryStats/src/mirandasettings.cpp
index f27f5896ee..cc6623545d 100644
--- a/plugins/HistoryStats/src/mirandasettings.cpp
+++ b/plugins/HistoryStats/src/mirandasettings.cpp
@@ -137,7 +137,7 @@ int MirandaSettings::enumSettingsProc(const char* szSetting, LPARAM lParam)
return 0;
}
-void MirandaSettings::enumSettings(SetInserter& insertIterator)
+void MirandaSettings::enumSettings(const SetInserter& insertIterator)
{
- mu::db_contact::enumSettings(m_hContact, m_strModule.c_str(), enumSettingsProc, reinterpret_cast<LPARAM>(&insertIterator));
+ mu::db_contact::enumSettings(m_hContact, m_strModule.c_str(), enumSettingsProc, LPARAM(&insertIterator));
}
diff --git a/plugins/HistoryStats/src/mirandasettings.h b/plugins/HistoryStats/src/mirandasettings.h
index bb5cb07f56..11e743c977 100644
--- a/plugins/HistoryStats/src/mirandasettings.h
+++ b/plugins/HistoryStats/src/mirandasettings.h
@@ -57,7 +57,7 @@ public:
bool delSetting(const char* szSetting);
// enumeration
- void enumSettings(SetInserter& insertIterator);
+ void enumSettings(const SetInserter& insertIterator);
};
#endif // HISTORYSTATS_GUARD_MIRANDASETTINGS_H