diff options
Diffstat (limited to 'src/mongo/db/dbmessage_test.cpp')
| -rw-r--r-- | src/mongo/db/dbmessage_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/dbmessage_test.cpp b/src/mongo/db/dbmessage_test.cpp index 73354253738..cf310947265 100644 --- a/src/mongo/db/dbmessage_test.cpp +++ b/src/mongo/db/dbmessage_test.cpp @@ -101,7 +101,7 @@ TEST(DBMessage1, GoodInsert) { string ns("test"); b.appendNum(static_cast<int>(1)); - b.appendStr(ns); + b.appendCStr(ns); b.appendNum(static_cast<int>(3)); b.appendNum(static_cast<int>(39)); @@ -120,7 +120,7 @@ TEST(DBMessage1, GoodInsert2) { string ns("test"); b.appendNum(static_cast<int>(1)); - b.appendStr(ns); + b.appendCStr(ns); b.appendNum(static_cast<int>(3)); b.appendNum(static_cast<int>(39)); |
