Merge pull request #2094

007937e2 net_utils_base: added missing template keyword (kenshi84)
This commit is contained in:
Riccardo Spagni 2017-06-21 21:57:03 +02:00
commit 038e6cd33e
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -128,7 +128,7 @@ namespace net_utils
case ipv4_network_address::ID: case ipv4_network_address::ID:
if (!is_store) if (!is_store)
const_cast<network_address&>(this_ref).reset(new ipv4_network_address(0, 0)); const_cast<network_address&>(this_ref).reset(new ipv4_network_address(0, 0));
KV_SERIALIZE(as<ipv4_network_address>()); KV_SERIALIZE(template as<ipv4_network_address>());
break; break;
default: MERROR("Unsupported network address type: " << type); return false; default: MERROR("Unsupported network address type: " << type); return false;
} }