Fix IPAddr/IPPrefix serialization bugs. (all unit tests pass)

This commit is contained in:
Jon Siwek 2012-02-17 12:01:00 -06:00
parent c227563baf
commit 06e59e1398
3 changed files with 8 additions and 9 deletions

View file

@ -411,8 +411,8 @@ public:
{
// No self-assignment check here because it's correct without it and
// makes the common case faster.
prefix = other.Prefix();
length = other.Length();
prefix = other.prefix;
length = other.length;
return *this;
}