Skip to content

Commit 6d6ac0e

Browse files
committed
fix: change nullptr to 0 for int parameter in ProfileResultFileDOT constructor
1 parent d75fbf8 commit 6d6ac0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Libraries/Source/profile/profile_result.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ ProfileResultInterface *ProfileResultFileDOT::Create(int argn, const char * cons
149149
return new (ProfileAllocMemory(sizeof(ProfileResultFileDOT)))
150150
ProfileResultFileDOT(argn>0?argv[0]:nullptr,
151151
argn>1?argv[1]:nullptr,
152-
argn>2?atoi(argv[2]): nullptr);
152+
argn>2?atoi(argv[2]): 0);
153153
}
154154

155155
ProfileResultFileDOT::ProfileResultFileDOT(const char *fileName, const char *frameName, int foldThreshold)

0 commit comments

Comments
 (0)