+#include "header.h"
#include <stdexcept>
#include <msp/strings/utils.h>
-#include "header.h"
#include "message.h"
using namespace std;
char value_sep = (style==VALUE_WITH_ATTRIBUTES ? 0 : ',');
- string::const_iterator i = raw_value.begin();
- while(i!=raw_value.end())
+ auto i = raw_value.cbegin();
+ while(i!=raw_value.cend())
{
Value value;
- string::const_iterator start = i;
+ auto start = i;
if(style==KEY_VALUE_LIST)
value.value = name;
else