summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/server/feedstates_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/tests/proton/server/feedstates_test.cpp')
-rw-r--r--searchcore/src/tests/proton/server/feedstates_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/server/feedstates_test.cpp b/searchcore/src/tests/proton/server/feedstates_test.cpp
index 96096c0401f..ca48fb773d8 100644
--- a/searchcore/src/tests/proton/server/feedstates_test.cpp
+++ b/searchcore/src/tests/proton/server/feedstates_test.cpp
@@ -105,7 +105,7 @@ RemoveOperationContext::RemoveOperationContext(search::SerialNum serial)
str(), packet()
{
op.serialize(str);
- ConstBufferRef buf(str.c_str(), str.wp());
+ ConstBufferRef buf(str.data(), str.wp());
packet.reset(new Packet());
packet->add(Packet::Entry(serial, FeedOperation::REMOVE, buf));
}