summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/cppsuite/tests/hs_cleanup.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/cppsuite/tests/hs_cleanup.cxx')
-rw-r--r--src/third_party/wiredtiger/test/cppsuite/tests/hs_cleanup.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/test/cppsuite/tests/hs_cleanup.cxx b/src/third_party/wiredtiger/test/cppsuite/tests/hs_cleanup.cxx
index fc17f0c5efe..e3ead2e3818 100644
--- a/src/third_party/wiredtiger/test/cppsuite/tests/hs_cleanup.cxx
+++ b/src/third_party/wiredtiger/test/cppsuite/tests/hs_cleanup.cxx
@@ -58,7 +58,7 @@ class hs_cleanup : public test {
/* In this test each thread gets a single collection. */
testutil_assert(tc->db.get_collection_count() == tc->thread_count);
- scoped_cursor cursor = tc->session.open_scoped_cursor(coll.name.c_str());
+ scoped_cursor cursor = tc->session.open_scoped_cursor(coll.name);
/* We don't know the keyrange we're operating over here so we can't be much smarter here. */
while (tc->running()) {