MB-20623: Warmup: Implement MutationLog::iterator copy assignment 44/68044/8
authorDave Rigby <daver@couchbase.com>
Tue, 23 Aug 2016 14:21:22 +0000 (15:21 +0100)
committerDave Rigby <daver@couchbase.com>
Fri, 30 Sep 2016 15:32:33 +0000 (15:32 +0000)
commit65a2ae3ab878c1b604aa8983353c0ffbf6e66bf2
tree926d61dd2c356389efa2971930d56268eaa45429
parentfa74b8dce7632236799192d1810c82b539e1949b
MB-20623: Warmup: Implement MutationLog::iterator copy assignment

MutationLog::iterator doesn't follow the Rule of Three - it doesn't
implement the copy-assigment operator. This means that it's not a
complete iterator implementation.

Fix this, and add a unit test for it.

Change-Id: I12d67bc072d72e481e6a195e2d45b16c0318fdc0
Reviewed-on: http://review.couchbase.org/68044
Reviewed-by: Daniel Owen <owend@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
src/mutation_log.cc
src/mutation_log.h
tests/module_tests/mutation_log_test.cc