diff options
Diffstat (limited to 'vespalib/src/vespa/vespalib/util/gencnt.cpp')
-rw-r--r-- | vespalib/src/vespa/vespalib/util/gencnt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/util/gencnt.cpp b/vespalib/src/vespa/vespalib/util/gencnt.cpp index 5adbf14a757..ad82cf2e67c 100644 --- a/vespalib/src/vespa/vespalib/util/gencnt.cpp +++ b/vespalib/src/vespa/vespalib/util/gencnt.cpp @@ -58,7 +58,7 @@ GenCnt::distance(const GenCnt &other) const GenCnt & GenCnt::operator=(const GenCnt &src) { - _val = src._val; + _val = src.getAsInt(); return *this; } |