@@ -537,7 +537,7 @@ public: | |||||
const d_string& key = fPlugin.getStateKey(i); | const d_string& key = fPlugin.getStateKey(i); | ||||
for (StringMap::const_iterator cit=fStateMap.cbegin(), cite=fStateMap.cend(); cit != cite; ++cit) | |||||
for (StringMap::const_iterator cit=fStateMap.begin(), cite=fStateMap.end(); cit != cite; ++cit) | |||||
{ | { | ||||
const d_string& curKey = cit->first; | const d_string& curKey = cit->first; | ||||
@@ -679,7 +679,7 @@ public: | |||||
#if DISTRHO_PLUGIN_WANT_STATE | #if DISTRHO_PLUGIN_WANT_STATE | ||||
LV2_State_Status lv2_save(const LV2_State_Store_Function store, const LV2_State_Handle handle) | LV2_State_Status lv2_save(const LV2_State_Store_Function store, const LV2_State_Handle handle) | ||||
{ | { | ||||
for (StringMap::const_iterator cit=fStateMap.cbegin(), cite=fStateMap.cend(); cit != cite; ++cit) | |||||
for (StringMap::const_iterator cit=fStateMap.begin(), cite=fStateMap.end(); cit != cite; ++cit) | |||||
{ | { | ||||
const d_string& key = cit->first; | const d_string& key = cit->first; | ||||
const d_string& value = cit->second; | const d_string& value = cit->second; | ||||
@@ -416,7 +416,7 @@ public: | |||||
fVstUI = new UIVst(fAudioMaster, fEffect, this, &fPlugin, (intptr_t)ptr); | fVstUI = new UIVst(fAudioMaster, fEffect, this, &fPlugin, (intptr_t)ptr); | ||||
# if DISTRHO_PLUGIN_WANT_STATE | # if DISTRHO_PLUGIN_WANT_STATE | ||||
for (StringMap::const_iterator cit=fStateMap.cbegin(), cite=fStateMap.cend(); cit != cite; ++cit) | |||||
for (StringMap::const_iterator cit=fStateMap.begin(), cite=fStateMap.end(); cit != cite; ++cit) | |||||
{ | { | ||||
const d_string& key = cit->first; | const d_string& key = cit->first; | ||||
const d_string& value = cit->second; | const d_string& value = cit->second; | ||||
@@ -469,7 +469,7 @@ public: | |||||
{ | { | ||||
d_string chunkStr; | d_string chunkStr; | ||||
for (StringMap::const_iterator cit=fStateMap.cbegin(), cite=fStateMap.cend(); cit != cite; ++cit) | |||||
for (StringMap::const_iterator cit=fStateMap.begin(), cite=fStateMap.end(); cit != cite; ++cit) | |||||
{ | { | ||||
const d_string& key = cit->first; | const d_string& key = cit->first; | ||||
const d_string& value = cit->second; | const d_string& value = cit->second; | ||||