- for (size_t i = 0; i < m_ucr.ips.const_data().count(); ++i)
+ for (size_t i = 0; i < m_ucr.ips.value().count(); ++i)
{
ConstUserPtr user;
- uint32_t ip = m_ucr.ips.const_data().operator[](i).ip;
+ uint32_t ip = m_ucr.ips.value().operator[](i).ip;
if (m_users.IsIPInUse(ip, m_login, &user))
{
printfd(__FILE__, "Trying to assign an IP %s to '%s' that is already in use by '%s'\n", inet_ntostring(ip).c_str(), m_login.c_str(), user->GetLogin().c_str());