net_utils_base: added missing template keyword

This commit is contained in:
kenshi84 2017-06-19 08:11:28 +09:00
parent ae8841f2ab
commit 007937e217
No known key found for this signature in database
GPG Key ID: 085D092F1F43D51A

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;
} }