Skip to content

Commit 3ecd331

Browse files
[CAS] Fix MSVC warning after #114096 (#153430)
Correct use of `SCOPED_TRACE` and fix MSVC warning.
1 parent 77044f9 commit 3ecd331

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/unittests/CAS/ObjectStoreTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ TEST_P(CASTest, NodesBig) {
273273
static void testBlobsParallel(ObjectStore &Read1, ObjectStore &Read2,
274274
ObjectStore &Write1, ObjectStore &Write2,
275275
uint64_t BlobSize) {
276-
SCOPED_TRACE(testBlobsParallel);
276+
SCOPED_TRACE("testBlobsParallel");
277277
unsigned BlobCount = 100;
278278
std::vector<std::string> Blobs;
279279
Blobs.reserve(BlobCount);
@@ -325,7 +325,7 @@ static void testBlobsParallel(ObjectStore &Read1, ObjectStore &Read2,
325325
}
326326

327327
static void testBlobsParallel1(ObjectStore &CAS, uint64_t BlobSize) {
328-
SCOPED_TRACE(testBlobsParallel1);
328+
SCOPED_TRACE("testBlobsParallel1");
329329
testBlobsParallel(CAS, CAS, CAS, CAS, BlobSize);
330330
}
331331

0 commit comments

Comments
 (0)