MB-24054: Fix ref to temp string in testsuite_dcp 34/78134/4
authorolivermd <oliver.downard@couchbase.com>
Mon, 15 May 2017 13:27:58 +0000 (14:27 +0100)
committerDave Rigby <daver@couchbase.com>
Tue, 16 May 2017 15:48:58 +0000 (15:48 +0000)
commitd7164a4db086fc3e68a34c0e0a6b413796ce9015
tree1d72eade75ee66b67744e3c2fe2268c18e354573
parent1c91ea760c5005364d45ecae9e49a056a804d9c9
MB-24054: Fix ref to temp string in testsuite_dcp

This patch ensures we pass a std::string to the initializer list rather
than doing a pointless call to c_str() which just confuses MSVC2015.

Change-Id: Idb29db461a1d2572660622d1166c680b599e2b57
Reviewed-on: http://review.couchbase.org/78134
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
tests/ep_testsuite_dcp.cc